GridAdapter
TParams, TCellVH
OnBeforeRecycleOrDisableCellViewsHolder Method
|
The only important callback for inheritors. It provides cell's views holder which has just become visible and whose views should be updated from its corresponding data model. viewsHolder.ItemIndex(
ItemIndex)
can be used to know what data model is associated with.
Namespace:
Com.ForbiddenByte.OSA.CustomAdapters.GridView
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
protected virtual void OnBeforeRecycleOrDisableCellViewsHolder(
TCellVH viewsHolder,
int newItemIndex
)
Parameters
- viewsHolder
- Type: TCellVH
The cell's views holder - newItemIndex
- Type: SystemInt32
Version Information
Optimized ScrollView Adapter
Supported in: 4.3
See Also