Chapter 4. Presenting App Data

In this chapter, we will cover the following recipes:

  • Implementing a ListView
  • Using a SimpleAdapter
  • Using custom ListView items
  • Using a BaseAdapter with arbitrary data
  • Using a CursorAdapter
  • Optimizing the ListView
  • Enabling fast scrolling
  • Using section indexes
  • Integrating app searchability

Introduction

Data is the most important feature of many apps, and the best way to use this data is often to present it first. Data comes in many shapes and forms, but in order to be managed or manipulated, it has to be presented.

Data can be in the form of images, text, or other forms, but often the most common way of presenting data is in a list. Lists provide a structured way in which data can be quickly viewed and compared.

There are many ...

Get Xamarin Mobile Development for Android Cookbook 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.