I have Pivot
with two PivotItems
.
On each PivotItem
I have ListView
with different ItemsSources
.
Fist ListView
have this binding:
Items = new IncrementalLoadingCollection<MainPageViewModel, Item>(this, 5);
public async Task<IEnumerable<Item>> GetPagedItemsAsync(int pageIndex, int pageSize, CancellationToken cancellationToken = default(CancellationToken))
{
*here network request*
return itemsList;
}
IncrementalLoadingCollection - collection from UWPCommunityToolkit How can I implement same Items2 = new IncrementalLoadingCollection(this, 5); with different network logic on same VM?