MultiplePrefabsExampleCreateViewsHolder Method |
Creates either a
BidirectionalVH or a
ExpandableVH, depending on the type of the model at index
itemIndex. Calls
[!:AbstractViewsHolder.Init(RectTransform, int, bool, bool)] on it, which instantiates the prefab etc.
Namespace:
Com.ForbiddenByte.OSA.Demos.MultiplePrefabs
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxprotected override BaseVH CreateViewsHolder(
int itemIndex
)
Parameters
- itemIndex
- Type: SystemInt32
Return Value
Type:
BaseVH
Version InformationOptimized ScrollView Adapter
Supported in: 4.3
See Also