On iOS, when the collection items change, the changes are not being rendered properly.
I am using sort and group delegate descriptors and the items determine the order and group they are placed in. However, when updating the items, the changes are not visually applied or the rendered items end up in an invalid state. There are logs emitted, like the one below.
[UICollectionView] Invalid update: invalid number of items in section 0. The number of items contained in an existing section after the update (3) must be equal to the number of items contained in that section before the update (3), plus or minus the number of items inserted or deleted from that section (1 inserted, 0 deleted) and plus or minus the number of items moved into or out of that section (0 moved in, 0 moved out). - will perform reloadData. UICollectionView instance: <TKCollectionView: 0x7faf86b41c00; baseClass = UICollectionView; frame = (0 0; 414 774); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x600001f4e610>; layer = <CALayer: 0x6000058ae760>; contentOffset: {0, 0}; contentSize: {414, 334}; adjustedContentInset: {0, 0, 0, 0}; layout: <TKListViewLinearLayout: 0x7faf83090250>; dataSource: <Telerik_XamarinForms_DataControlsRenderer_iOS_TKExtendedListView: 0x7faf8308ee50; frame = (0 0; 414 774); layer = <CALayer: 0x
6000058ae5e0>>>; currentUpdate: [UICollectionViewUpdate - 0x7faf83098630: old:<UICollectionViewData: 0x600002858620> new<UICollectionViewData: 0x600002858b60> items:<(
"I(0,2)"
)>]