Chapter 2. Presenting Data for Views
In the first chapter we covered the basic creation of a project, and how to put together a simple user interface. We backed our first
Activitywith enough code to dynamically generate some buttons that the user can use to answer our multiple-choice questions.
So now we can capture some data, but what about displaying data? One large advantage of software is its ability to present and filter very large volumes of data quickly and in an easy-to-read format. In this chapter we will look at a series of Android widgets that are designed exclusively for presenting data.
Most Android data-centric classes are built on top of
Adapter objects, and thus extend the
AdapterView class. An
Adapter can be thought of as a cross ...