Getting Fancy with Lists
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, obviously). However, making them fancy takes some work, as you will learn in this chapter.
Getting to First Base
The classic Android
ListView is a plain list of text—solid but uninspiring. We hand the
ListView a bunch of words in an array, and then tell Android to ...