I have a problem where the method onItemAtEndLoaded is called immediately after onZeroItemsLoaded, the behavior should be only when I finish the scroll. Do you have any idea of what is happening. I can provide my GitHub repo.
I have solved it by setting PrefetchDistance to zero in PagedListConfig
PagedList.Config.Builder()
                .setPrefetchDistance(0) // solved
                .setInitialLoadSizeHint(pageSize)
                .setPageSize(pageSize)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With