ARTICLE AD BOX
I'm trying to create a replicate of WhatsApp in NET10 MAUI. I have the list of messages: the newest one at the bottom of the list and the old at the top.
For this implementation I user a CollectionView.
<CollectionView x:Name="MessagesList" Grid.Row="1" Margin="0,10" EmptyView="No messages here yet" RemainingItemsThreshold="5" RemainingItemsThresholdReachedCommand="{Binding LoadMoreMessagesCommand}"> <!-- more XAML --> </CollectionView>The code shows the message but the incremental load is only working when the user reach the end of the list in the CollectionView and invokes RemainingItemsThresholdReachedCommand.
In the case of a chat, I want to load old messages when the user reach the top of the list not the bottom.
How can I implement this behaviour?
6,95013 gold badges88 silver badges196 bronze badges
1
Explore related questions
See similar questions with these tags.

