Fragment learning, fragment
A few days ago, I saw the Fragment part in <proficient Android 4>... it is recorded today... because I decided to record the content I learned every day... in this way, you can review what you have done by date... also find out the reason for laziness (low efficiency, high pressure...
The content of this book is hard to read... in fact, there is not much content, but it is very difficult to accept... after reading it, I still did not remember anything...
The impression of this book is that a book with codes is full of Chinese characters...
Fragment class and FragmentLayout container are mainly used. FragmentLayout can switch views...
In addition, you need to use FragmentTransaction and FragmentManager (the class name may be missing...) to switch the view and search...
I remember that Fragment can be used in ViewPager, or does ViewPager use Fragment for switching? In short, It is very convenient to use FragmentLayout for view switching... you only need to call the replace function wherever you think you need it...
Probably I can remember so much...
For android development, do I still need to learn fragment if I only design applications for mobile phones?
Since 4.0, pad and mobile apps are common, and fragment is a good framework. It is recommended to learn.
What is the tutorial video for android fragment?
There are too many examples on the Internet, and video watching is a waste of time.