Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个问题,即在之后立即onItemAtEndLoaded调用该方法,该行为应该仅在我完成滚动时才出现。你对正在发生的事情有任何想法吗?我可以提供我的 GitHub 存储库。 onZeroItemsLoaded
onItemAtEndLoaded
onZeroItemsLoaded
我已经通过将PrefetchDistance 设置为零来解决它PagedListConfig
PagedListConfig
PagedList.Config.Builder() .setPrefetchDistance(0) // solved .setInitialLoadSizeHint(pageSize) .setPageSize(pageSize)