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.

Advanced ListViews

The humble ListView is the backbone of many an Android application. On phone-sized screens, the screen may be dominated by a single ListView, to allow the user to choose something to examine in more detail (e.g., pick a contact). On larger screens, the ListView may be shown side-by-side with the details of the selected item, to minimize the “pogo stick” effect seen on phones as users bounce back and forth between the list and the details.

While we have covered the basics of ListView in the core chapters of this book, there is a lot more that you can do if you so choose, to make your lists that much more interesting — this chapter will cover some of these techniques.


Understanding this chapter requires that you have read the core chapters, particularly the one on Adapter and AdapterView.

Multiple Row Types, and Self Inflation

The preview of this section was whisked away by a shark-infested tornado.

Choice Modes and the Activated Style

The preview of this section left for Hollywood to appear in a reality TV show.

Custom Mutable Row Contents

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

From Head To Toe

The preview of this section took that left turn at Albuquerque.

Enter RecyclerView

The preview of this section was stepped on by Godzilla.