You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, how can I get the X,Y displacement position of my subsamplingImageView, I need to cut the visible part of the image and I can't get those missing values, thank you very much.
val currentXOffset = subsamplingImageView.translationX.toInt()
val currentYOffset = subsamplingImageView.translationY.toInt()
give me 0
Thanks
The text was updated successfully, but these errors were encountered:
If you're looking for a zoom image component on Android, take a look at my ZoomImage (https://github.com/panpf/zoomimage) library. It can be used for View and Compose, supports scaling, panning, positioning, rotation, and super-large image subsampling. It also integrates image loaders such as sketch, glide, picasso, coil, etc.
Hello, how can I get the X,Y displacement position of my subsamplingImageView, I need to cut the visible part of the image and I can't get those missing values, thank you very much.
val currentXOffset = subsamplingImageView.translationX.toInt()
val currentYOffset = subsamplingImageView.translationY.toInt()
give me 0
Thanks
The text was updated successfully, but these errors were encountered: