title: How to detect the single tap in DispatchTouchEvent method in forms android
body: <p>Am using DispatchTouchEvent and need to detect a single tap, for that considered the down point and up point, when both are same, detected the single tap.
  But this works fine in some android devices, but in some device, there in a pixel difference in down and up point. How to overcome this?</p>
  <pre><code>         public override bool DispatchTouchEvent(MotionEvent e)
      {
          if (e.Action == MotionEventActions.Down)
          {  
              touchDownPoint = new Xamarin.Forms.Point(e.GetX(), e.GetY());
          }
          else if (e.Action == MotionEventActions.Up)
          {   
              var position = new Xamarin.Forms.Point(e.GetX(), e.GetY());               
              if (touchDownPoint == position) // this condition not gets satisfied in some devices
              {
                  // single tap detected.
              }
          }
          else if (e.Action == MotionEventActions.Move)
          {              
          }
  
          return base.DispatchTouchEvent(e);
      }
  </code></pre>