Code example for OverScroller

Methods: computeScrollOffset

0
		mScroller.startScroll( initialX, 0, distance, 0, mAnimationDuration );
	} 
 
	@Override 
	protected boolean computeScrollOffset() { 
		return mScroller.computeScrollOffset();
	} 
 
	@Override 
	protected int getCurrX() { 
		return mScroller.getCurrX();
	} 
 
	@Override 
	protected void forceFinished( boolean finished ) {
		mScroller.abortAnimation();
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE