title: Prevent Swiping of ViewPager2 when onTouch of inner view
body: <p>I have a ViewPager2 with a fragment inside, </p>
  
  <p>in the fragment, I have a custom view with certain touch logic that involves moving the finger.</p>
  
  <p>how do I prevent the ViewPager from swiping while the inner view intercepts the touch event?</p>
  
  <pre><code>override fun onTouchEvent(event: MotionEvent?): Boolean {
      if (event?.action == MotionEvent.ACTION_DOWN || event?.action == MotionEvent.ACTION_MOVE) {
         //Do some stuff here
      }
      return true
  }
  </code></pre>
  
  <p>while swiping this view the view pager still swipes to other pages.</p>