What is the advantage of using reference fragment?

What is the advantage of using reference fragment?
Answer
Advantages of fragments include code reuse and modularity (e.g., using the same list view in many activities), including the ability to build multi-pane interfaces (mostly useful on tablets). The main disadvantage is (some) added complexity.
 

Tìm kiếm

Back
Top