Enum CachingStrategy
Specifies caching strategies of data templates when re-using listview items.
Namespace: Syncfusion.Maui.ListView
Assembly: Syncfusion.Maui.ListView.dll
Syntax
public enum CachingStrategy
Remarks
While scrolling binding contexts of data template object get updated and re-used. The data templates objects that are selected by a Microsoft.Maui.Controls.DataTemplateSelector are cached by the data template type and re-used.
Fields
| Name | Description |
|---|---|
| CreateNewTemplate | Indicates that new data templates are created while re-using listview items. |
| RecycleTemplate | Indicates that data templates get re-used while data object associated with listview item gets changed. While scrolling binding contexts of data template object get updated and re-used. The data templates objects that are selected by a Microsoft.Maui.Controls.DataTemplateSelector are cached by the data template type and re-used. |