Android disable viewpager swipe when touchimageview is zoomed

911 Views Asked by At

My app is doing a gallery which uses TouchImageView and Viewpager. The problem is when the imageview is zoomed, it is hard to scroll the imageview to see the rest of the image, because the app seems doing swiping first How can it do. Is it possible to check if the imageview is already dragged to left or right edge, and if it is true then disable swipe of viewpager?

0

There are 0 best solutions below