FMX.ListView.Adapters.Base.TAbstractListViewAdapter.ResetViews
Delphi
procedure ResetViews(const APurposes: TListItemPurposes);
C++
void __fastcall ResetViews(const Fmx::Listview::Types::TListItemPurposes APurposes);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
class protected | FMX.ListView.Adapters.Base.pas FMX.ListView.Adapters.Base.hpp |
FMX.ListView.Adapters.Base | TAbstractListViewAdapter |
Description
Resets 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.
If the specified set of purposes is empty, ResetViews resets the views of all list view items.
ResetViews calls the virtual method DoResetViews. You must implement DoResetViews in subclasses of TAbstractListViewAdapter to implement the logic of ResetViews.