I want to load 10 documents first and then 10 and so on. Is this correct?
And does Firestore pagination load all data at once? Or does it limit data from Firestore?
PagedList.Config config = new PagedList.Config.Builder()
.setEnablePlaceholders(false)
.setPrefetchDistance(2)
.setInitialLoadSizeHint(10)
.setPageSize(10)
.build();