ScrollRectItemsAdapter8TParams, TItemViewsHolderGetItemViewsHolder Method |
Get the viewHolder with a speciffic index in the "visible items" array.
Example: if you pass 0, the first visible ViewHolder will be returned (if there's any)
Not to be mistaken to the other method 'GetItemViewsHolderIfVisible(int withItemIndex)', which uses the itemIndex, i.e. the index in the list of models.
Returns null if the supplied parameter is >= VisibleItemsCount
Namespace:
frame8.Logic.Misc.Visual.UI.ScrollRectItemsAdapter
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic TItemViewsHolder GetItemViewsHolder(
int viewHolderIndex
)
Parameters
- viewHolderIndex
- Type: SystemInt32
the index of the ViewsHolder in the visible items array
Return Value
Type:
TItemViewsHolder
Version InformationOptimized ScrollView Adapter
Supported in: 2.5.2
See Also