Code example for ScrollView

Methods: postscrollTo

            public void run() 
                if (mScroller.computeScrollOffset())
                    mScrollView.scrollTo(mScroller.getCurrX(), mScroller.getCurrY());
                // If its not finished make sure we try and calculate the next time to run 
                if (!mScroller.isFinished())
                    mIsScrolling = false;
        //View Configuration 
        final ViewConfiguration vc = ViewConfiguration.get(scrollView.getContext());
        mMinVelocity = vc.getScaledMinimumFlingVelocity();
        mMaxVelocity = vc.getScaledMaximumFlingVelocity();
Stop searching for code, let great code find you!  Add Codota to your java IDE