android-spinnerwheel icon indicating copy to clipboard operation
android-spinnerwheel copied to clipboard

How to adjust the amount of overscrolling?

Open DavidWiesner opened this issue 10 years ago • 2 comments

At first thanks for this great library!

Is there a method or are there lines in the code to modify to disable or adjust the amount of overscrolling.

regards, David

DavidWiesner avatar Aug 06 '14 19:08 DavidWiesner

I'm digging into code for overscrolling too. It would be great to have some assist about controlling the overscrolling of horizontal wheel .

uguratar avatar Dec 24 '14 00:12 uguratar

https://github.com/ai212983/android-spinnerwheel/blob/bba368d940da356f9681545a46677caaa21b624d/library/src/main/java/antistatic/spinnerwheel/WheelHorizontalScroller.java#L64

Change final int maxPosition = 0x7FFFFFFF; to final int maxPosition = 0

noinnion avatar Sep 28 '15 09:09 noinnion