On iOS, we are having an issue with the CollectionView when used with IsGrouped = true, the feature of RemainingItemsThreshold and RemainingItemsThresholdCommand does not seem to work even though working fine in Android.
Similarly in Android (as I could not test in iOS), the ItemsUpdatingScrollMode = KeepScrollOffset does not work all the time as it keeps switching position to the first response's (Page 1) end of the list/collection as it reaches the Threshold and appends to the List
The CollectionView's RemainingItemsThreshold logic should work and request the remaining content (Load more) from the service.
At present in iOS, the RemainingItemsThreshold implementation does not do anything. Only the first page data being displayed, even though Android has the logic working perfectly.
<CollectionView x:Name="collectionView"
AbsoluteLayout.LayoutBounds="0,0,1,1"
AbsoluteLayout.LayoutFlags="All"
BackgroundColor="Transparent"
IsGrouped="True"
ItemSizingStrategy="MeasureAllItems"
ItemTemplate="{StaticResource dataTemplateSelector}"
ItemsLayout="VerticalList"
ItemsSource="{Binding FilteredTransactions}"
ItemsUpdatingScrollMode="KeepScrollOffset"
Margin="{StaticResource pageMargins}"
RemainingItemsThreshold="5"
RemainingItemsThresholdReachedCommand="{Binding LoadMoreCommand}">
Works fine on Android but can reproduce the issue on iOS:
Issue10643.zip
Facing same issue, even the same issue exist in the Scrolled Event:
_Scrolled(object sender, ItemsViewScrolledEventArgs e)
If items are grouped then e.LastVisibleItemIndex start-overs from Zero for every group scrolled to bottom.
_This is blocker for infinite scrolling in iOS._
@msftgits @msftdata
This issue is already reported #8383
I have the same problem. When we can have a solution?
Most helpful comment
This issue is already reported #8383