-
Notifications
You must be signed in to change notification settings - Fork 369
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
Calling mRefreshLayout.finishRefreshing() does not finish animation if its too fast #5
Comments
Yes finish refreshing does not happens mostly, which spoils the stable usability. Please fix asap |
I am still having exactly the same issue. `refreshLayout = (CircleRefreshLayout) findViewById(R.id.refresh_layout);
` |
Yes same here. My network call finishes sometimes in as less as 5 ms. Then I set mRefresh.finishRefreshing(); the animation still goes on and can not dismiss only. Please let me know the work around if anybody has already found it. Thanks |
For example if as soon as the user refreshes, and there is no data to update (for example no connection/website down etc...) the animation just keeps on going but you can still refresh again by pulling while its refreshing.
I solved this by using a handler and calling postdelayed with a delay of 1000ms this would finish the view's animation but its not ideal because of 1000ms delay.
The text was updated successfully, but these errors were encountered: