Code example for OverScroller

Methods: computeScrollOffsetgetCurrY

    public void computeScroll() { 
        Log.d(TAG, "computeScroll");
        if (mScroller.computeScrollOffset()) {
            scrollTo(0, mScroller.getCurrY());
    protected void onLayout(boolean changed, int left, int top, int right,
            int bottom) {
        Log.d(TAG, "onLayout changed:: " + changed);
        super.onLayout(changed, left, top, right, bottom);
     * Checks if there is a cached view that can be used. 
Connect your IDE to all the code out there  Get Codota for Java