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

FixedIndicatorView的scroller有bug,导致View不停重绘。 #79

Open
Del-Gin opened this issue Jun 30, 2020 · 0 comments
Open

FixedIndicatorView的scroller有bug,导致View不停重绘。 #79

Del-Gin opened this issue Jun 30, 2020 · 0 comments

Comments

@Del-Gin
Copy link

Del-Gin commented Jun 30, 2020

setCurrentItem里面执行了inRun.startScroll()这个方法,让scroller开始滑动。
但是在dispatchDraw中,scrollBar为null时,不会执行drawSlideBar方法,也就不会执行inRun.computeScrollOffset()方法。
这样scroller永远无法停止绘制,InRun的run一直在执行。

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

1 participant