ListView is one of the most important widgets in all of Android, simply because it is used so frequently. Whether choosing a contact to call, an e-mail message to forward, or an e-book to read,
ListView widgets are employed in a wide range of activities. Of course, it would be nice if they were more than just plain text.
The good news is that Android lists can be as fancy as you want, within the limitations of a mobile device’s screen, of course. However, making them fancy takes some work, requiring the features of Android that are covered in this chapter.
The classic Android
ListView is a plain list of text—solid but uninspiring. Basically, we hand the
ListView a bunch of ...