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 ...
Get Beginning Android Programming: Develop and Design now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.