You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.
Now, PagedWebData would be a little like our friend WebData from RemoteData, except that it would have another state, in which some pages have been received but others have not. To create one, you'd supply an Http.Builder that's partly filled out (i.e. everything but the page parameter), so that PagedWebData itself can send additional requests to get additional data. (So, it would be hooked into the event handling). And the UI can then do the right thing to display things ... i.e. display a "loading" indicator until all data loaded, or display what data we have + a loading indicator, or whatever is the right thing for the situation. Now, there would be a few more things to deal with, but the basic idea would be to have a PagedWebData module that would abstract out the work of sending requests and managing the pages and the count.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently we have very few items, but we could add more, and then fetch all the items one page at a time
/cc @rohanorton
The text was updated successfully, but these errors were encountered: