Baseflow / Baseflow/PhotoView

OnFling Limitations

Open
#699 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
18.8k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

For my app, I need the ability to swipe left and right, even if the image is zoomed in a bit. In
`PhotoViewAttacher`'s `public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) ` (line 180 or so):
I needed `if (getScale() > DEFAULT_MIN_SCALE) {`
to be
`if (getScale() > getMediumScale() {`

Allowing for that code to be overridden in the future would be nice.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.