Xamarin ListView (SfListView) Overview
28 Apr 2021 / 2 minutes to read
SfListView for Xamarin.Forms renders set of data items with Xamarin.Forms views or custom templates. Data can be grouped, sorted, and filtered with ease. The following table lists the key features of the Listview control in Xamarin.Forms.
(Android, iOS ,UWP ,WPF, and MacOS)
|Item Size Customization|
|Pull to refresh|
|Custom Group Header|
|Header and footer|
Optimized view reusing strategy for enhanced performance.
Item templating for rich UI(User Interface).
Supports dynamic selection of UI for each item using the
AutoFit items based on the content of
Supports linear layout and grid layout.
Reordering items by dragging and dropping them in a linear layout with displaying custom UI in a template.
Data operations such as sorting, grouping, and filtering.
Customizable group header with option to stick in view.
Selection with different selection modes and gestures.
Swiping template for loading views with custom actions.
Header and footer with sticky options.
Supports to load more data either automatically or manually at bottom when end of the list is reached and manually at top.
Supports for macOS with existing features along with key navigation.
Advantages of the SfListView over Xamarin.Forms ListView
Horizontal orientation support.
Support for different layouts such as linear layout and grid layout.
Supports for item swiping.
Supports for reordering items by drag and drop in linear layout.
Supports to load more items when reached scroll end.
Supports for sorting and filtering the data items.
Supports to stick the header, group header, and footer in view.
Supports to customize selection background color.
Supports to notify the scroll state changes.
You can refer to our Xamarin ListView feature tour page for its groundbreaking feature representations. You can also explore our Xamarin.Forms ListView example to know how to render set of data items with Xamarin.Forms views or custom templates.