codepath / codepath/android_guides
View inside SwipeRefreshLayout keeps calling onRefresh when I scroll to bottom
Open
- Dominant language
- No language data
- Stars
- 28.3k
- Forks
- 6.2k
- PR merge metrics
- No merged PRs in 30d
Description
I implemented the Endless Scroll in a fragment that has SwipeRefreshLayout as its root view.
All worked well when I scrolled slowly to the bottom however when I scroll quickly it loads to the top. In my onRefresh, I pull data from the first page which is what happens when I scroll quickly to the bottom.
Any issues why this could occur?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.