Code example for GestureDetector.OnGestureListener

Methods: onSingleTapUp

0
		} 
	} 
 
	public boolean onSingleTapUp(MotionEvent e) {
		if (onGestureListener != null) {
			onGestureListener.onSingleTapUp(e);
		} 
		return false; 
	} 
 
	public boolean isLongpressEnabled() { 
		return gestureDetector.isLongpressEnabled();
	} 
 
	public void setIsLongpressEnabled(boolean isLongpressEnabled) {
		gestureDetector.setIsLongpressEnabled(isLongpressEnabled);
	} 
 
	public OnGestureListener getOnGestureListener() {
		return onGestureListener;
	}