Now I would like to combine both of them.
The problem is that swipe events are consumed by ImageViewTouch and skipped by the gallery.
How can I use events for both components?
This will solve my problem, because in the end, after several events, each component will know how to react accordingly. For example, if the first event is ACTION_DOWN , it may be part of the scaling or part of the scroll. Both components (Gallery and ImageViewTouch) must use it to know what to do in the following events.
android imageview gallery swipe pinchzoom
AlikElzin-kilaka
source share