Code example for GestureDetector.OnGestureListener

Methods: onShowPress

0
 
    @Override 
    public void onShowPress(MotionEvent e)
    { 
        if ( listener != null ) {
            listener.onShowPress(e);
             
        } 
         
    } 
 
    @Override 
    public boolean onSingleTapUp(MotionEvent e)
    { 
        if ( listener != null ) {
            return listener.onSingleTapUp(e);
             
        } 
         
        return false;