

For example, using the same list across different data sources within an app. Reusing View and Logic Components - Fragments enable re-use of parts of your screen including views and event logic over and over in different ways across many disparate activities.There are many use cases for fragments but the most common use cases include:

Within a fragment-oriented architecture, activities become navigational containers that are primarily responsible for navigation to other activities, presenting fragments and passing data.

A fragment is a reusable class implementing a portion of an activity.
