-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
我想马上停止刷新,而不是等动画结束,可以吗,我不知道该怎么调用 #212
Comments
响应 |
finishRefresh(0) |
我试过了,但是还是有等待时间,不能立刻停止 |
我想立刻停止进行下一次刷新 |
finish完成立刻执行autorefresh |
假设屏幕上有两个按钮和一个recyclerview,这时快速点击按钮切换,让recyclerview快速刷新,好像finishRefresh(0)不行吧 |
动画执行时需要时间的,你可以把回弹动画时间设置为 0 |
分享一个解决的办法:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我想马上停止下拉刷新或加载更多,而不是等动画结束,可以吗,我不知道该怎么调用。因为我一个recycleview要马上相应屏幕上不同的按钮
The text was updated successfully, but these errors were encountered: