ListView Constructors

Definition

Overloads

ListView()

Creates and initializes a new instance of the ListView class.

ListView(ListViewCachingStrategy)

Creates and initializes a new instance of the ListView class, with the specified caching strategy.

ListView()

Creates and initializes a new instance of the ListView class.

public ListView ();

Applies to

ListView(ListViewCachingStrategy)

Creates and initializes a new instance of the ListView class, with the specified caching strategy.

public ListView (Xamarin.Forms.ListViewCachingStrategy cachingStrategy);
new Xamarin.Forms.ListView : Xamarin.Forms.ListViewCachingStrategy -> Xamarin.Forms.ListView

Parameters

cachingStrategy
ListViewCachingStrategy

A value that indicates how the List View should manage memory when displaying data items using a data template.

Remarks

For memory and performance reasons, application developers should strongly prefer RecycleElement, when possible. See ListViewCachingStrategy for more details.

Applies to