title: dispatchTouchEvent in Fragment in Android
body: <p>I am trying to get swipe up and swipe down gestures working in Fragment. 
  The same is working fine with activity. In Fragment, I have an issue with dispatchTouchEvent. How do I use dispatchTouchEvent in Fragment? Is there an equivalent way to achieve this?</p>
  
  <pre><code>@Override
      public boolean dispatchTouchEvent(MotionEvent me)
      {
           this.detector.onTouchEvent(me);
         return super.dispatchTouchEvent(me);
      }
  </code></pre>