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

快速滑动(fling)大概率出现卡顿 #34

Open
PerleyZ opened this issue Mar 8, 2019 · 2 comments
Open

快速滑动(fling)大概率出现卡顿 #34

PerleyZ opened this issue Mar 8, 2019 · 2 comments

Comments

@PerleyZ
Copy link

PerleyZ commented Mar 8, 2019

No description provided.

@PerleyZ
Copy link
Author

PerleyZ commented Mar 8, 2019

实际上这不是卡顿,是由于View没有及时刷新导致,ScrollableLayout中的computeScroll()方法存在bug,在248行后增加invalidate()即可。

@zoe1623
Copy link

zoe1623 commented Dec 4, 2020

ScrollableLayout类中computeScroll() 方法中invalidate()往下移动两行, 放到else外边即可, 估计是笔误

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