Click or drag to resize

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
Syntax
C#
protected override BaseVH CreateViewsHolder(
	int itemIndex
)

Parameters

itemIndex
Type: SystemInt32

Return Value

Type: BaseVH
Version Information

Optimized ScrollView Adapter

Supported in: 4.3
See Also