mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-31 11:31:40 +00:00
Limit initial load size
This commit is contained in:
parent
c5a3a91221
commit
2784ea389c
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ public class ViewModelMessages extends ViewModel {
|
|||
|
||||
case FOLDER:
|
||||
PagedList.Config configFolder = new PagedList.Config.Builder()
|
||||
.setInitialLoadSizeHint(LOCAL_PAGE_SIZE)
|
||||
.setPageSize(LOCAL_PAGE_SIZE)
|
||||
.setPrefetchDistance(REMOTE_PAGE_SIZE)
|
||||
.build();
|
||||
|
|
Loading…
Reference in a new issue