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

修复在下拉刷新即将完成时,用户操作界面后,导致下拉展开动画不同步问题。 #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fuyuguang
Copy link

No description provided.

@fuyuguang
Copy link
Author

修复 : 当下滑刷新后,刷新即将完成时,轻轻上滑,出现刷新完成,但是 SmileView(笑脸)没有隐藏的问题

问题出在stopPin() 方法 中的 isPining 赋值上 ,只有当结束动画执行完成后,才能 改变 isPining的状态为 false , 不然会出现 结束动画还没有执行完,这时用户操作界面,导致 onNestedPreScroll()方法中的 scale()方法(下拉展开动画) 又会执行 ,出现的状态不同步问题

@JmStefanAndroid JmStefanAndroid linked an issue Mar 17, 2020 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

None yet

1 participant