dawebmail
dawebmail copied to clipboard
Lazy Loading at bottom
Saving to Sugar takes forever. Save only the first 30 items. After that, lazy load wherever required.
http://www.mysamplecode.com/2012/07/android-listview-load-more-data.html
Instead, convert listview to Recyler view and use either of the following :
- https://github.com/race604/FlyRefresh
- https://github.com/Aspsine/SwipeToLoadLayout
:)
Here is a library to do all the lazy loading for us..
https://github.com/cymcsg/UltimateRecyclerView
Completed REST API implementation for lazy loading! Browse files in this commit :)
Completely rewrote the rest api implementation - it now auto deletes all msgs that have been removed from website, it also marks read/unread for msgs that have been read from website.