What are fragments how it is useful?

What are fragments how it is useful?
Answer
A Fragment
represents a reusable portion of your app’s UI. A fragment defines and manages its own layout, has its own lifecycle, and can handle its own input events. Fragments cannot live on their own–they must be hosted by an activity or another fragment.
 

Tìm kiếm

Back
Top