The list view control for Xamarin renders a set of data items with Xamarin.Forms views or custom templates. It offers high performance on binding with commonly used data sources. Data can be grouped, sorted, and filtered with ease. Key features include different layouts, item templating, swiping, orientation, sticky headers and footers, and selection with different modes and gestures.
The list view has been built from the ground up with an optimized view reuse strategy to achieve the best possible performance on the Xamarin platform, even when loading large data sets.
The list view provides support for a linear layout and a grid layout. The linear layout arranges items in a single column, whereas the grid layout arranges items in a predefined number of columns.
Associate swipe views with custom actions. Swipe views are displayed by swiping from left to right or right to left over an item.
Load data in vertical and horizontal orientations.
Sort data programmatically. Custom sorting logic is also supported.
Group by a property from code. Freeze group headers in the view. Custom grouping logic is also supported.
Set predicates to easily filter and view data as needed.
Freeze a header at the top of the control or make it scrollable.
Freeze a footer at the bottom of the control or make it scrollable.
Reorder items by dragging them either with a long press or from the drag indicator view. Customize the appearance of items while dragging.
Dynamically change the size of items to greatly enhance readability.
Refresh the data source at runtime by performing the pull-to-refresh action.
Load more data at runtime automatically or manually when the end of a list is reached. Also customize the loading indicator and load more button.
List view items can be paged using the data pager control, which supports interactively manipulating the data.