ai212983 / android-spinnerwheel

Wheel-like spinner widget for Android
http://git.io/spinwheel
Apache License 2.0
639 stars 249 forks source link

onScrollingFinished called after onChanged #69

Open jgamedev opened 8 years ago

jgamedev commented 8 years ago

I used the same same code from the demo app, so I check for the value of the scrolling flag, however by the time onScrollingFinished is finally called to reset the value of this variable, onChanged has already been called and doesn't get called again after that.

Here's how the log looks like (the boolean value is the value of the scrolling variable):

08-16 03:08:07.047 4138-4138/ E/MyDebugTag: scrolling started true
08-16 03:08:07.187 4138-4138/ E/MyDebugTag: scrolling changing true
08-16 03:08:07.367 4138-4138/ E/MyDebugTag: scrolling changing true
08-16 03:08:07.707 4138-4138/ E/MyDebugTag: scrolling finished false

And here is the full code: http://hastebin.com/ocidofumoh.java