Code example for GestureDetector.OnGestureListener

Methods: onSingleTapUp

0
 	 * @see android.view.GestureDetector.OnGestureListener#onSingleTapUp(android.view.MotionEvent) 
 	 */ 
 	@Override 
	 public boolean onSingleTapUp(MotionEvent e) {
	  if (onGestureListener != null) {
	   onGestureListener.onSingleTapUp(e);
	  } 
	  return false; 
	 } 
 
	 /** 
 	 * Checks if is longpress enabled. 
 	 * 
 	 * @return true, if is longpress enabled 
 	 */ 
 	public boolean isLongpressEnabled() { 
	  return gestureDetector.isLongpressEnabled();
	 } 
 
	 /** 
 	 * Sets the checks if is longpress enabled.