Baseflow / PhotoView

Implementation of ImageView for Android that supports zooming, by various touch gestures.
https://baseflow.com
Apache License 2.0
18.79k stars 3.92k forks source link

After apply new bitmap how can i restore old scale and image x y value? #738

Closed andysagar closed 4 years ago

andysagar commented 4 years ago

When i change bitmap of image after doing some zoom and drag. how can i restore it same zoom and x y value of image ?

i tried this method to restore it. Imagescale is working fine but x and y value is not working currently

main_img.getAttacher() .setScale(scalevalue, sx, sy, false);

tolik85 commented 3 years ago

did you find a solution?