Code example for OverScroller

Methods: getCurrVelocity

0
	} 
 
	@TargetApi(14) 
	@Override 
	public float getCurrVelocity() { 
		return mScroller.getCurrVelocity();
	} 
 
	@Override 
	public boolean isFinished() { 
		return mScroller.isFinished();
	} 
 
	public boolean springBack( int startX, int startY, int minX, int maxX, int minY, int maxY ) {
		return mScroller.springBack( startX, startY, minX, maxX, minY, maxY );
	} 
 
	@Override 
	protected void _startUsingVelocity( int initialX, int velocity ) {
		mScroller.fling( initialX, 0, velocity, 0, mParent.getMinX(), mParent.getMaxX(), 0, Integer.MAX_VALUE, 10, 0 );
	}