Click or drag to resize

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
Syntax
C#
protected 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: CellGroupViewsHolderMyCellViewsHolder
The created group views holder
Version Information

Optimized ScrollView Adapter

Supported in: 3.1
See Also

Reference

[!:ScrollRectItemsAdapter8<TParams, TItemViewsHolder>.CreateViewsHolder(int)]