Code example for GestureDetector.OnGestureListener

Methods: onShowPress

0
 	 * @see android.view.GestureDetector.OnGestureListener#onShowPress(android.view.MotionEvent) 
 	 */ 
 	@Override 
	 public void onShowPress(MotionEvent e) {
	  if (onGestureListener != null) {
	   onGestureListener.onShowPress(e);
	  } 
	 } 
 
	 /* (non-Javadoc) 
 	 * @see android.view.GestureDetector.OnGestureListener#onSingleTapUp(android.view.MotionEvent) 
 	 */ 
 	@Override 
	 public boolean onSingleTapUp(MotionEvent e) {
	  if (onGestureListener != null) {
	   onGestureListener.onSingleTapUp(e);
	  } 
	  return false; 
	 }