-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Support for Clear and reset is not currently implemented.
Use case: the generating datasource has changed and the collection needs to be refreshed. The attached zip file contains a modified version of the sample app that displays 3 buttons to reset the collection.
I would suggest adding the following method to IncrementalLoadingCollection.cs:
protected override void ClearItems()
{
base.ClearItems();
_dataSourceCount = null;
AsyncInfo.Run(token => LoadMoreItemsFromDataSourceAsync(1))
.GetAwaiter()
.GetResult();
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels