Code example for GestureDetector.OnGestureListener

Methods: onDown

0
	 } 
 
	 @Override 
	 public boolean onDown(MotionEvent e) {
	  if (onGestureListener != null) {
	   return onGestureListener.onDown(e);
	  } 
	  return false; 
	 } 
 
	 @Override 
	 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX,
	   float velocityY) {
	  if (onGestureListener != null) {
	   return onGestureListener.onFling(e1, e2, velocityX, velocityY);
	  } 
	  return false; 
	 } 
 
	 @Override 
	 public void onLongPress(MotionEvent e) {