Code example for Scroller

Methods: getCurrVelocity

 * <p/> 
 * <p>This class provides a platform version-independent mechanism for obeying the 
 * current device's preferred scroll physics and fling behavior. It offers a subset of 
 * the APIs from Scroller or OverScroller.</p> 
class ScrollerCompat { 
    Scroller mScroller;
    static class ScrollerCompatImplIcs extends ScrollerCompat { 
        public ScrollerCompatImplIcs(Context context) {
        public float getCurrVelocity() { 
            return ScrollerCompatIcs.getCurrVelocity(mScroller);
    public static ScrollerCompat from(Context context) {
Contextual code suggestions in your IDE  Get Codota for Java