Đinh Thu Trang
New member
What is fragments in Android with example?
Answer
Android Fragment is the part of activity, it is also known as sub-activity. There can be more than one fragment in an activity. Fragments represent multiple screen inside one activity.
…
Android Fragment Lifecycle Methods.
Answer
Android Fragment is the part of activity, it is also known as sub-activity. There can be more than one fragment in an activity. Fragments represent multiple screen inside one activity.
…
Android Fragment Lifecycle Methods.
No. | Method | Description |
|---|---|---|
2) | onCreate(Bundle) | It is used to initialize the fragment. |