Click or drag to resize

ScrollRectItemsAdapter8TParams, TItemViewsHolderCreateViewHolder Method

Called when there are no recyclable views for itemIndex. Provide a new viewholder instance for itemIndex This can also be used as a hint to initialize your viewholder

Namespace:  frame8.Logic.Misc.Visual.UI.ScrollRectItemsAdapter
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
protected abstract TItemViewsHolder CreateViewHolder(
	int itemIndex
)

Parameters

itemIndex
Type: SystemInt32
the index of the model that'll be presented by this view holder

Return Value

Type: TItemViewsHolder
Version Information

Optimized ScrollView Adapter

Supported in: 2.5.2
See Also