Code example for ScaleGestureDetector

Methods: isInProgress

0
            mDetector = new ScaleGestureDetector(context, mScaleListener);
        } 
 
        @Override 
        public boolean isScaling() { 
            return mDetector.isInProgress();
        } 
 
        @Override 
        public boolean onTouchEvent(MotionEvent ev) {
            mDetector.onTouchEvent(ev);
            return super.onTouchEvent(ev);
        } 
 
    } 
}