FMX.ListView.Types.IListViewAdapter Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
AddRefpublicIncrements the reference count for this interface.
CreateNewViewspublicIs called by TListView every time it needs to paint.
GetCountpublicReturns the number of items that this Adapter represents.
GetDefaultViewHeightpublicIs the height of the items that do not have it explicitly defined.
GetEnumeratorpublicReturns TEnumerator<TListItem>.
GetItempublicGets TListItem by index.
IndexOfpublicGets index of given TListItem.
operator []public
QueryInterfacepublicReturns a reference to a specified interface if the object supports that interface.
ReleasepublicDecrements the reference count for this interface.
ResetViewpublicTriggers the OnResetView event and passes the specified list item to its event handler.
ResetViewspublicResets the views of the items that have the specified purposes. List views call ResetViews on their adapter when the list view appearance needs an update; for example, when you change the size of a list view.
SetOnChangedpublicSetter that you can override in subclasses to handle the assignment of an event handler to the OnChanged event.
SetOnItemsCouldHaveChangedpublicSetter that you can override in subclasses to handle the assignment of an event handler to the OnItemsCouldHaveChanged event.
SetOnItemsInvalidatepublicSetter that you can override in subclasses to handle the assignment of an event handler to the OnItemsInvalidate event.
SetOnItemsMayChangepublicSetter that you can override in subclasses to handle the assignment of an event handler to the OnItemsMayChange event.
SetOnItemsResizepublicSetter that you can override in subclasses to handle the assignment of an event handler to the OnItemsResize event.
SetOnResetViewpublicSetter that you can override in subclasses to handle the assignment of an event handler to the OnResetView event.
SortpublicSorts the items of the list view using the specified comparer.
SupportspublicIndicates whether a given interface supports a specific (another) interface.