Closed sumitsonawane closed 1 year ago
I hope this code help someone pained multi touch.
We should custom ZoomableTouchListener
's onTouch().
Just change
if (mAnimatingZoomEnding || ev.getPointerCount() > 2) return true;
->
if (mAnimatingZoomEnding || ev.getPointerCount() > 2) { mEndingZoomAction.run(); return true; }
I hope this code help someone pained multi touch.
We should custom
ZoomableTouchListener
's onTouch().Just change
if (mAnimatingZoomEnding || ev.getPointerCount() > 2) return true;
->if (mAnimatingZoomEnding || ev.getPointerCount() > 2) { mEndingZoomAction.run(); return true; }
@imablanco can you try this? its working on my side.....
@page1group thanks for the update.... its works..
Will try this weekend but it seems very straightforward so I am planning to merge it anyway. Sorry for the delay but I barely have time to check spare projects.
Will try this weekend but it seems very straightforward so I am planning to merge it anyway. Sorry for the delay but I barely have time to check spare projects.
ok, thanks.
I am also facing this problem. Can you merge #30 if you have time?
when can you merge ? @imablanco
I hope this code help someone pained multi touch.
We should custom
ZoomableTouchListener
's onTouch().Just change
if (mAnimatingZoomEnding || ev.getPointerCount() > 2) return true;
->if (mAnimatingZoomEnding || ev.getPointerCount() > 2) { mEndingZoomAction.run(); return true; }
This solution works great, I just have a small addition to it, to make the zoom out experience better,
if (mAnimatingZoomEnding || ev.getPointerCount() > 2) { if (ev.getPointerCount() > 2) { mEndingZoomAction.run(); } return true; }
If device having touch gesture(3 fingers swipe) screenshot enabled then Image Freezes on Screen