Code example for AbsListView

Methods: onTouchEvent

0
	} 
 
	private void cancelFling() { 
		// Cancel the list fling 
		MotionEvent cancelFling = MotionEvent.obtain(0, 0, MotionEvent.ACTION_CANCEL, 0, 0, 0);
		mList.onTouchEvent(cancelFling);
		cancelFling.recycle();
	} 
 
	private void cancelPendingDrag() { 
		mList.removeCallbacks(mDeferStartDrag);
		mPendingDrag = false;
	} 
 
	@SuppressWarnings("unused") 
	private void startPendingDrag() { 
		mPendingDrag = true;
		mList.postDelayed(mDeferStartDrag, PENDING_DRAG_DELAY);
	} 
 
	private void beginDrag() {