Open ideamats opened 1 year ago
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.
如果你正在寻找 Android 上的变焦图像组件,可以看看我的 ZoomImage (https://github.com/panpf/zoomimage) 库。它可用于 View 和 Compose,支持缩放、平移、定位、旋转、超大图子采样,它还集成了 sketch、glide、picasso、coil 等图像加载器
I'm sorry if this has been asked before, I just haven't found anything relating this this.
So when PhotoView is in a ViewPager and the photo is scrollable (larger than the view size), the behavior is that whenever it reaches border, ViewPager takes over and starts to scroll pages. So when the user try to scroll the image and reaches the edge, they wants to scroll the other direction to view other part but at this point they can only move the whole ViewPager.
I'm wondering if there is a setting to allow a larger buffer after scrolling to the edge before ViewPager takes over?