Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paging some times doesn't work #25

Open
razaghimahdi opened this issue Jul 23, 2021 · 3 comments
Open

paging some times doesn't work #25

razaghimahdi opened this issue Jul 23, 2021 · 3 comments

Comments

@razaghimahdi
Copy link

so as i said paging doesn't work sometime for example:
i turn on airplane mode and try to paging and i dont get new item which is correct by now b/c i dont have any network but after turning off airplane mode which it should paging works but it doesnt and i have to refersh list(swipe refresh) to paging work again, maybe we need a listener for checking network to update onUpdateQueryExhausted()?

@mitchtabian
Copy link
Owner

mitchtabian commented Jul 27, 2021

Or you don't have anything in the cache so there is no more results? I think it "looks" like paging isn't working because the network fails immediately and getting data from the cache is so fast that no progress bar shows.

@razaghimahdi
Copy link
Author

so maybe it should checks first network is available or not then if it was unavailable get from caching, all i say it's user shouldn't refresh list to make paging works again, what do u think?(maybe i make it so hard :))) )

@mitchtabian
Copy link
Owner

feel free to create a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants