FMX.ListView.Adapters.Base.TAbstractListViewAdapter.CreateNewViews
Delphi
procedure CreateNewViews;
C++
void __fastcall CreateNewViews(void);
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
Adapters that represent data that may change must implement the logic of this method to create new instances of TListItem to represent their data.
CreateNewViews calls the virtual method DoCreateNewViews. To implement the logic of CreateNewViews in a subclass, reimplement DoCreateNewViews in that subclass.
List views call CreateNewViews on their adapter each time their rendering process starts.