public override bool OnGenericMotionEvent(MotionEvent e)
 {
     try
     {
         _detector.OnGenericMotionEvent(e);
     }
     catch (ObjectDisposedException)
     {
         CreateGestureDetector();
     }
     return(base.OnGenericMotionEvent(e));
 }
Пример #2
0
 public override bool OnGenericMotionEvent(MotionEvent e)
 {
     _detector.OnGenericMotionEvent(e);
     return(base.OnGenericMotionEvent(e));
 }
Пример #3
0
 private void OnGenericMotion(object sender, GenericMotionEventArgs e)
 {
     m_gestureDetector.OnGenericMotionEvent(e.Event);
 }