Android ImageView in ViewPager - implementation of touch gesture enlarge image

I have a ViewPager class and ImageView as its children. In ImageView, I can capture touch events and use the ScaleGestureDetector. The question is how to implement image scaling using gestures, so that it works like any modern image viewer for Android?

Thank you and welcome

+4
source share

Source: https://habr.com/ru/post/1385071/


All Articles