public static void applyPinchZoomImage(ImageView mImageView){
  mImageView.setOnTouchListener(new PinchZoom());
}

public static void applyPinchZoomImage ( ImageView mImageView ) { mImageView . setOnTouchListener ( new PinchZoom ( ) ) ; }
use for apply pinchzoom functionality to your imageview
