O'Reilly logo

Android UI Fundamentals: Develop and Design by Jason Ostrander

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6. Navigation and Data Loading

This chapter builds on previous chapters by showing you how to create navigation within your app. You will learn that the action bar replaces the options menu and creates consistent functionality across Android apps; that tabbed interfaces leverage the action bar, but you need to fall back to TabWidget on older versions of Android; that the ViewPager class lets you add side-to-side swiping navigation to your application; that adapters are used to bind your data to your displayed views; and that loaders offer a simplified method of obtaining the data for your UI.

Introducing the Action Bar

Starting with version 3, Android gained a major new UI paradigm called the action bar (Figure 6.1). The action bar sits at the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required