SRIATParams, TItemViewsHolderChangeItemsCount Method |
Self-explanatory. See ItemCountChangeMode in order to understand how change modes differ from each other.
If you display each item's index, you can override this method to update the views, in case an Insert/Remove operation will occur, which may naturally change the indices of some items
Namespace: frame8.Logic.Misc.Visual.UI.ScrollRectItemsAdapter
public virtual void ChangeItemsCount( ItemCountChangeMode changeMode, int itemsCount, int indexIfInsertingOrRemoving = -1, bool contentPanelEndEdgeStationary = false, bool keepVelocity = false )