O'Reilly logo

Android User Interface Development by Jason Morris

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 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 Activity with 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 ...

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