I have a server-side API which provides paged data in JSON format based on various query parameters. I would like to provide a UI that allows the user to paged through the results of a query.
I am aware of the various component parts that permit this sort of interface, IPagedCollectionView and ICollectionView at the model / view model lever and DataPager within the UI. However, all the examples I have seen implement paging on top of data which has already been loaded into the model or view model.
I was hoping to find an IPagedCollectionView implementation somewhere, where you simple plug in your 'fetcher' method that fetches a given page of data from the server, plus provides a bit of metadata (total pages etc ...)
I could write this myself based on the IPagedCollectionView and ICollectionView interfaces, but I would be surprised if there is not a standard solution to this problem.
Any pointers to more suitable parts of the framework or libraries that extend the framework would be appreciated!