The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.

More Fun with Pagers

In earlier chapters, we saw basic uses of ViewPager. However, there are other ways to apply ViewPager and integrate it into the rest of your application, some of which we will examine in this chapter.


This chapter assumes that you have read the core chapters, particularly the one showing how to use ViewPager.

Hosting ViewPager in a Fragment

The preview of this section was accidentally identified as an Android 'tasty treat' by the Cookie Monster.

Pages and the Action Bar

The preview of this section was abducted by space aliens.

ViewPagers and Scrollable Contents

The preview of this section was lost due to a rupture in the space-time continuum.

Showing More Pages

The preview of this section is out seeking fame and fortune as the Dread Pirate Roberts.

Columns for Large, Pages for Small

The preview of this section was eaten by a grue.