How to use PhotoViewAttacher?
Author: taehee28Created Jan 2, 2024Updated Apr 2, 2026
Questions and Help
Hello. I am trying to use the PhotoViewAttacher on a normal ImageView to apply zoom functionality. However, it seems that the zoom feature is not being applied as expected when I use it in this way.
val attacher = PhotoViewAttacher(binding.imageView)Is this not the correct way to use the PhotoViewAttacher for zoom functionality?
Source: Baseflow/PhotoView