O'Reilly logo

Beginning Android Programming: Develop and Design by Kevin Grant, Chris Haseman

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 5. Adapters, List Views, and Lists

Lists, in Android, are one of the most often-used tools to show data to users. From the entry menu of a game to a dynamic list of Facebook statuses or Twitter messages, lists are everywhere. Android’s system for dealing with them, while complicated at first, becomes much easier once you begin using it. In this chapter, I’ll run the gamut from simple, static main-menu lists to the dynamic, remote-data-backed custom list elements of a Reddit feed (the social news and entertainment website). Along the way, I’ll expose you to the inner workings of one of Android’s most often-used and complex UI views.

Two Pieces to Each List

To display lists of ordered data with Android, there are two major components you’ll ...

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