Code example for GestureDetector.OnGestureListener

Methods: onShowPress

0
	 } 
 
	 @Override 
	 public void onShowPress(MotionEvent e) {
	  if (onGestureListener != null) {
	   onGestureListener.onShowPress(e);
	  } 
	 } 
 
	 @Override 
	 public boolean onSingleTapUp(MotionEvent e) {
	  if (onGestureListener != null) {
	   onGestureListener.onSingleTapUp(e);
	  } 
	  return false; 
	 } 
 
	 public boolean isLongpressEnabled() { 
	  return gestureDetector.isLongpressEnabled();
	 }