Piasy / BigImageViewer

Big image viewer supporting pan and zoom, with very little memory usage and full featured image loading choices. Powered by Subsampling Scale Image View, Fresco, Glide, and Picasso. Even with gif and webp support! 🍻
MIT License
3.98k stars 400 forks source link

How can I get the zoom in and zoom out ratio that occurs #249

Open nxkdvdh opened 8 months ago

nxkdvdh commented 8 months ago

Hello, I am trying to set a specific zoom ratio for all images in the Recycler View at once. To achieve this, I need to get the zoom ratio for at least one image. I have tried a lot, but it does not work. Can you give me a way to do that?

I will be brief so that you can understand me more. I need a way to obtain the percentage of zoom and zoom that occurs And How can I set these specific zoom ratios for images

Please Help.

Piasy commented 8 months ago

I think SSIV has get/set ratio API, you can getSSIV then call them.

Best regards. Piasy Xu

此致,祝好! 许建林

https://github.com/Piasy https://www.linkedin.com/in/piasy/

On Fri, Feb 16, 2024 at 22:49 nxkdvdh @.***> wrote:

Hello, I am trying to set a specific zoom ratio for all images in the Recycler View at once. To achieve this, I need to get the zoom ratio for at least one image. I have tried a lot, but it does not work. Can you give me a way to do that?

I will be brief so that you can understand me more. I need a way to obtain the percentage of zoom and zoom that occurs And How can I set these specific zoom ratios for images

Please Help.

— Reply to this email directly, view it on GitHub https://github.com/Piasy/BigImageViewer/issues/249, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXUQUF2I7GCQEBZKGKXW6TYT5WVZAVCNFSM6AAAAABDMFCA5CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZTQNZXGY3DSMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>