public bool OnTouchEvent(CometTouchGestureListener v, MotionEvent e) { var isComplete = e.IsComplete(); try { if (!isComplete) { dictionary[e] = v; } Logger.Debug($"Touch dictionary {dictionary.Count}"); return(gestureDetector.OnTouchEvent(e)); } finally { if (isComplete) { dictionary.Remove(e); } } }