I’m using the OverScroller
class in Android to implement fling and spring back behavior in my app. I know that I can use the fling
method with the overY
parameter to specify the maximum number of pixels to overscroll by in the vertical direction. However, I’m not sure how to control the velocity of the spring back after a fling.
Is it possible to control the velocity of the spring back after a fling using the OverScroller
class? If so, how can I do this? Any help would be appreciated. Thanks!