O'Reilly logo

Android 5 Programming by Example by Kyle Mew

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

Chapter 6. Notifications and the Action Bar

The vertically scrolling RecyclerView, which we have been dealing with in the previous chapters, is a great device for negotiating long, simple lists where there is either not much data in each item or where each item only displays a small part of the whole. There are, of course, times when we will want to display a full screen of information and still have this as a part of a list. This is where the ViewPager comes in as it allows us to chain together full-page, mini Activities called Fragments in such a way that we can navigate through them with simple, intuitive horizontal swipe gestures.

Along with making use of the variety of views and widgets available to us, there are often times when we would ...

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