title: Android setOnTouchListener
body: <p>I have read some different responses for this same question, so I dont know which one is right, then I decided to ask it again. Please try to not refer any other link in this answer. If you want to do so, I will be expecting a bit of extra explanation.</p>
  
  <p>My question is:
  I have an <code>ImageView</code> inside a <code>ViewPager</code>, my <code>ImageView</code> has some gestures detection(zoom and pan) and I am using the default <code>ViewPager</code>, which has swipe detection by default.
  <em>How does the chain of onTouch events work? The lowest view in my hierarchy will always get onTouch and if the method returns false will parent handle it? Perhaps the opposite?</em> </p>
  
  <p>I am asking that, because I have a <code>ImageView</code> which has gestures to left and right, and when I get in the edge of the image, I have to dispatch an event to the parent (a <code>ViewPager</code>) to handle the pagination event. any further tip in how to do it, it will be really appreciated.</p>