Code example for GestureDetector

Methods: isLongpressEnabled

0
	 
	/** 
	 * @return Returns true if long press is enabled, false otherwise. 
	 */ 
	public boolean isLongpressEnabled() { 
		return gestureDetector.isLongpressEnabled();
	} 
 
	/** 
	 * Sets whether long press is enabled or not. 
	 * @param isLongpressEnabled  
	 */ 
	public void setIsLongpressEnabled(boolean isLongpressEnabled) {
		gestureDetector.setIsLongpressEnabled(isLongpressEnabled);
	} 
 
	/** 
	 * @return Returns the {@link OnGestureListener}. 
	 */ 
	public GestureDetector.OnGestureListener getOnGestureListener() {
Stop searching for code, let great code find you!  Add Codota to your java IDE