kannji / app

Japanese leraning App, work in progress
MIT License
1 stars 0 forks source link

Make app able to use paginated data from the server #8

Open janlucaklees opened 7 years ago

janlucaklees commented 7 years ago

To cope with huge amounts of data, the API-server usually answers every request paginated (learning-list-overview, learning-list-entries). So far only the first page is displayed in the app. We should be able to extend that list when needed (user scrolls all the way to the bottom, or maybe some 'load-more' button is clicked).

4kobras commented 7 years ago

I would prefer the 'load more' button over the scroll version. Consider you have a vast amount of search results resulting from an ambiguous query, maybe you only need the first result (e.g. if you want to look up something for it's general meaning). Then transmitting the entirety of the results list would cause an unneccesary amount of data to be transferred, which might cause dismay with users with a slow internet connection (or who have to pay for mobile network. Believe it or not, such persons still exist, even in 1st world countries). Anyway, maybe we find another solution alltogether.

Just my 2cts.