Click or drag to resize

PackedGridExample Methods

The PackedGridExample type exposes the following members.

Methods
  NameDescription
Protected methodGetNewCellGroupViewsHolder
Provide your own implementation of the group prefab, if you have a custom one. Most often than not, you won't use this
(Overrides GridAdapterTParams, TCellVHGetNewCellGroupViewsHolder.)
Public methodRefresh (Overrides GridAdapterTParams, TCellVHRefresh(Boolean, Boolean).)
Protected methodStart (Overrides OSATParams, TItemViewsHolderStart.)
Protected methodUpdateCellViewsHolder
Called when a cell becomes visible
(Overrides GridAdapterTParams, TCellVHUpdateCellViewsHolder(TCellVH).)
Protected methodUpdateViewsHolder
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)

(Overrides GridAdapterTParams, TCellVHUpdateViewsHolder(CellGroupViewsHolderTCellVH).)
Top
See Also