Back to Developer Roadmap

Fragments

src/data/roadmaps/android/content/[email protected]

4.0503 B
Original Source

Fragments

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 can't live on their own. They must be hosted by an activity or another fragment. The fragment’s view hierarchy becomes part of, or attaches to, the host’s view hierarchy.

Visit the following resources to learn more: