Image being flipped vertically when using one finger zoom (double tap)
- Dominant language
- Java
- Stars
- 18.8k
- Forks
- 3.9k
- PR merge metrics
- No merged PRs in 30d
Description
Double tapping the image and scrolling up and down to results in the image being "fliped" or rotated 90 degrees. The result is the image being upside down. if you repeat the process to returns to its original state.
**Any way of disabling this one finger scrolling for the time being?**
By the way, I'm using PhotoView inside a full screen activity with Picasso.
```
photoView = (PhotoView) findViewById(R.id.fullscreen_content);
String imageUrl = getIntent().getStringExtra(EXTRA_IMAGE);
attacher = new PhotoViewAttacher(photoView);
Picasso.with(this).load(imageUrl).into(photoView, new Callback() {
@Override
public void onSuccess() {
attacher.update();
}
@Override
public void onError() {
}
});
```
I'm not sure I'm using this the right way either, but consuming the event does not disable double tap zooming
```
photoView.setOnDoubleTapListener(new GestureDetector.OnDoubleTapListener() {
@Override
public boolean onSingleTapConfirmed(MotionEvent e) {
return true;
}
@Override
public boolean onDoubleTap(MotionEvent e) {
return true;
}
@Override
public boolean onDoubleTapEvent(MotionEvent e) {
return true;
}
});
```
https://goo.gl/photos/uLZbtDebGJMfA2aj9
Contributor guide
Assessment
This issue has not been assessed yet.