Code example for Scroller

Methods: computeScrollOffset

0
                endFling(true); 
                return; 
            } 
 
            final Scroller scroller = mScroller;
            boolean more = scroller.computeScrollOffset();
 
            if (more) {
                post(this);
            } else { 
                endFling(true); 
            } 
        } 
    }     
 
    /** */ 
    protected void fireScrollStateChanged(int scrollState) {
        if (this.scrollState != scrollState) {
            onScrollListener.onScrollStateChanged(this, scrollState);
            this.scrollState = scrollState;
        }