dawebmail icon indicating copy to clipboard operation
dawebmail copied to clipboard

Lazy Loading at bottom

Open crearo opened this issue 8 years ago • 3 comments

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

crearo avatar Jun 13 '16 22:06 crearo

Instead, convert listview to Recyler view and use either of the following :

  • https://github.com/race604/FlyRefresh
  • https://github.com/Aspsine/SwipeToLoadLayout

:)

crearo avatar Jun 14 '16 07:06 crearo

Here is a library to do all the lazy loading for us..

https://github.com/cymcsg/UltimateRecyclerView

Pradeet avatar Jun 14 '16 21:06 Pradeet

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.

crearo avatar Jun 15 '16 07:06 crearo