to top

实现高效导航

Dependencies and prerequisites

You should also read

Try it out

Download the sample app

EffectiveNavigation.zip

This class demonstrates how to implement the key navigation design patterns detailed in the 设计高效的导航 class. The lessons in this class cover implementing navigation up, down, and across your application's screen map.

After reading through the lessons in this class and exploring the associated sample application (see right), you should also have a basic understanding of how to use ActionBar and ViewPager, two components that are fundamental to core app navigation.

Lessons

实现横向导航
Learn how to implement tabs and horizontal paging (swipe views).
实现上级导航
Learn how to implement Up navigation.
实现临时导航
Learn how to correctly handle the Back button.
实现纵向导航
Learn the finer points of implementing navigation into your application's information hierarchy.