You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This callback appears to only say what ImageView the tap was outside of but not where it was.
Contextualize the feature / Describe the feature.
It would be useful to get, if not the exact location of the tap, the nearest point to the tap. As it is, if the user is trying to tap on a point on the edge of the photo view they might have to try several times accidentally tapping on the wrong side of the border.
Expected behavior, if this is possible: onOutsidePhotoTap should have the same signature as void onPhotoTap(ImageView view, float x, float y);. The coordinates returned should (probably) be clamped to the range 0..1, 0..1.
The text was updated successfully, but these errors were encountered:
I am looking at OnOutsidePhotoTapListener and
void onOutsidePhotoTap(ImageView imageView);
:https://github.com/Baseflow/PhotoView/blob/master/photoview/src/main/java/com/github/chrisbanes/photoview/OnOutsidePhotoTapListener.java
🚀 Feature Requests
This callback appears to only say what ImageView the tap was outside of but not where it was.
Contextualize the feature / Describe the feature.
It would be useful to get, if not the exact location of the tap, the nearest point to the tap. As it is, if the user is trying to tap on a point on the edge of the photo view they might have to try several times accidentally tapping on the wrong side of the border.
Expected behavior, if this is possible: onOutsidePhotoTap should have the same signature as
void onPhotoTap(ImageView view, float x, float y);
. The coordinates returned should (probably) be clamped to the range 0..1, 0..1.The text was updated successfully, but these errors were encountered: