-
Notifications
You must be signed in to change notification settings - Fork 1k
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
How to show pull-to-refresh automatically? #89
Comments
Maybe you can use mListView.onRefresh() to auto load when activity start up. |
@vinceyuan Have you got solution? |
Hi, I would suggest to migrate over to the SwipeRefreshLayout that's available in the support library for doing pull to refresh. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a list. The pull-to-refresh works well. Thanks!
When the local data is old, the app should load data from the server automatically on activity start. So I want to show the pull-to-refresh animation automatically on activity start.
I tried listView.scrollBy(x, y) which only scrolls the list view but does not trigger pull-to-refresh animation.
Is there any solution? Thanks
The text was updated successfully, but these errors were encountered: