android-spinnerwheel
android-spinnerwheel copied to clipboard
How to adjust the amount of overscrolling?
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
I'm digging into code for overscrolling too. It would be great to have some assist about controlling the overscrolling of horizontal wheel .
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