ListView Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
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.