SelectionExampleCreateViewsHolder Method |
Creates the Group viewsholder which instantiates the group prefab using the provided params in [!:ScrollRectItemsAdapter8<TParams, TItemViewsHolder>.Init(TParams)]
Namespace:
frame8.ScrollRectItemsAdapter.SelectionExample
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxprotected override CellGroupViewsHolder<MyCellViewsHolder> CreateViewsHolder(
int itemIndex
)
Parameters
- itemIndex
- Type: SystemInt32
the index of the GROUP (attention, not the CELL) that needs creation
Return Value
Type:
CellGroupViewsHolderMyCellViewsHolderThe created group views holder
Version InformationOptimized ScrollView Adapter
Supported in: 3.1
See AlsoReference
[!:ScrollRectItemsAdapter8<TParams, TItemViewsHolder>.CreateViewsHolder(int)]