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

Scroller seems no used #9

Open
ichenhe opened this issue Feb 14, 2020 · 0 comments
Open

Scroller seems no used #9

ichenhe opened this issue Feb 14, 2020 · 0 comments

Comments

@ichenhe
Copy link

ichenhe commented Feb 14, 2020

Since Scroller used to calculate current position which relate to the peogress of scrolling. But in this lib we calculate the speed ourselves. Scroller just be used as a flag to indicate whether is scrolling.

So I think we can simply use a boolean var to take the place of the Scroller. I have already done this and every thing woks well.

I am still not sure if you use it for any other reason.

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