How do you use fragments?

Bờm

Member
How do you use fragments?
Answer
Android – Fragments
  1. A fragment has its own layout and its own behaviour with its own life cycle callbacks.
  2. You can add or remove fragments in an activity while the activity is running.
  3. You can combine multiple fragments in a single activity to build a multi-pane UI.
  4. A fragment can be used in multiple activities.
 

Tìm kiếm

Back
Top