Code example for Scroller

Methods: forceFinished

0
		 
		return true; 
	} 
	 
	protected boolean onDown(MotionEvent e) {
		mScroller.forceFinished(true);
		return true; 
	} 
	 
	private OnGestureListener mOnGesture = new GestureDetector.SimpleOnGestureListener() {
 
		@Override 
		public boolean onDown(MotionEvent e) { 
			return HorizontalListView.this.onDown(e); 
		} 
 
		@Override 
		public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, 
				float velocityY) { 
			return HorizontalListView.this.onFling(e1, e2, velocityX, velocityY); 
		}