Creating Dynamic UIs with Android Fragments(Second Edition)
上QQ阅读APP看书,第一时间看更新

Chapter 1. Fragments and UI Modularization

This chapter introduces fragments, UI modularization, and the role that fragments play in developing a modularized UI. The chapter demonstrates creating simple fragments and using fragments statically within activities.

Let's have a look at the topics to be covered:

  • The need for a new approach to UI creation
  • Making the shift to fragments

By the end of this chapter, we will be able to create and use fragments within a static activity layout.