Mastering Android Application Development
上QQ阅读APP看书,第一时间看更新

Chapter 2. Designing our App

In this chapter, we will think of an idea for an app and transform that idea into a real app, create a basic structure to be displayed on the screen, and choose an appropriate navigation pattern to move between them.

After taking a look at the most commonly used navigation pattern, we will proceed with implementing the tabs pattern composed by fragment and ViewPager.

During this, we will do a review of our knowledge of fragments to be able to explain the advanced concepts. We will also discuss the importance of FragmentManager and the fragments back-stack.

To finish, we will add some good-looking animations to our screen transitions. Therefore, we will cover the following topics in this chapter:

  • Selecting an app navigation pattern
  • Mastering fragments
  • Implementing tabs and ViewPager
  • Animated transitions between screens