25 Work With Fragments
When your App UI involves complex pages—pages with a foldout layout, for example, or with multiple panels or tabs—you might find it easier to define those sections as fragments. Fragments are reusable pieces of UI that you can include in multiple pages across your App UI.
Earlier chapters describe why you might want to use fragments, so we won't get into the details here. If you're not familiar with these concepts, review What Are Fragments? as well as Develop an App UI or Fragment, then learn more in this chapter.