Code example for GestureDetector.OnGestureListener

Methods: onLongPress

0
	 } 
 
	 @Override 
	 public void onLongPress(MotionEvent e) {
	  if (onGestureListener != null) {
	   onGestureListener.onLongPress(e);
	  } 
	 } 
 
	 @Override 
	 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX,
	   float distanceY) {
	  if (onGestureListener != null) {
	   onGestureListener.onScroll(e1, e2, distanceX, distanceY);
	  } 
	  return false; 
	 } 
 
	 @Override 
	 public void onShowPress(MotionEvent e) {
Stop searching for code, let great code find you!  Add Codota to your java IDE