Chapter 8. A List to View

In this chapter, we will cover the following recipes:

  • Displaying a collection and selecting a row
  • Adding, removing, and refreshing items
  • Customizing the row template
  • Adding grouping and a jump index list

Introduction

99 percent of applications are using a control that you can scroll and view a collection of data. This collection of data, sometimes more than one type, can be represented in many ways to show the corresponding information. In this chapter, we will see how the Xamarin.Forms ListView control works with our collections.

A collection is a stream of data and the ListView control in Xamarin.Forms helps significantly with how we present the data to the user in a vertical scrollable area, and enable actions such as adding, ...

Get Xamarin: Cross-Platform Mobile Application Development 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.