Click or drag to resize

PackedGridExampleUpdateViewsHolder Method

Here the grid adapter checks if new groups need to be created or if old ones need to be disabled or destroyed, after which it calls UpdateCellViewsHolder(TCellVH) for each remaining cells.

Override it (and call the base implementation!) only if you know what you're doing. If you just want to update your cells' views, do it in UpdateCellViewsHolder(TCellVH)

Namespace:  Com.ForbiddenByte.OSA.Demos.GridDifferentItemSizes
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
protected override void UpdateViewsHolder(
	CellGroupViewsHolder<MyCellViewsHolder> newOrRecycled
)

Parameters

newOrRecycled
Type: Com.ForbiddenByte.OSA.CustomAdapters.GridViewCellGroupViewsHolderMyCellViewsHolder
The viewsholder of the group that needs updated
Version Information

Optimized ScrollView Adapter

Supported in: 4.3
See Also