SimpleExampleOnItemIndexChangedDueInsertOrRemove Method |
This is overidden only so that the items' title will be updated to reflect its new index in case of Insert/Remove, because the index is not stored in the model
If you don't store/care about the index of each item, you can omit this
For more info, see OnItemIndexChangedDueInsertOrRemove(TItemViewsHolder, Int32, Boolean, Int32)
Namespace: Com.ForbiddenByte.OSA.Demos.Simple
protected override void OnItemIndexChangedDueInsertOrRemove( MyItemViewsHolder shiftedViewsHolder, int oldIndex, bool wasInsert, int removeOrInsertIndex )