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

It is possible to save the image on my iPhone/Android ? #130

Open
GerardoPM opened this issue Jun 3, 2019 · 1 comment
Open

It is possible to save the image on my iPhone/Android ? #130

GerardoPM opened this issue Jun 3, 2019 · 1 comment

Comments

@GerardoPM
Copy link

I want to download the image when a long press is detected

@mzxyz
Copy link

mzxyz commented Jun 4, 2019

@GerardoPM I think you can do this with onLongPress and onPageScroll callback.

  1. Get position with onPageScroll, the initial value should be 0. With position you can get the image which you want to save.

  2. Use onLongPress to trigger the save action if you like.

  3. Refer to the official document how to save the image file to local gallery

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

No branches or pull requests

2 participants