Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Going to the next/previous image, while the current image is in zoomed state #61

Open
ilant opened this issue Sep 18, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ilant
Copy link

ilant commented Sep 18, 2020

Is there any way to change the current image (swiping right-left) while it is in zoomed state ?

Sometimes its not very intuitive to return to the initial (original) image size, to be allowed to go to the next or previous image.

@ilant ilant added the enhancement New feature or request label Sep 18, 2020
@mobielbekeken-thijs
Copy link

@ilant you can change this by forking the repo and change in ImagesPagerAdapter.tk:
setOnViewDragListener { _, _ -> setAllowParentInterceptOnEdge(scale == 1.0f) }
to:
setAllowParentInterceptOnEdge(true)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants