diff --git a/source/TouchTracking/TouchTracking.Droid/TouchHandler.cs b/source/TouchTracking/TouchTracking.Droid/TouchHandler.cs index 95182c7..71adc02 100644 --- a/source/TouchTracking/TouchTracking.Droid/TouchHandler.cs +++ b/source/TouchTracking/TouchTracking.Droid/TouchHandler.cs @@ -1,4 +1,4 @@ -using Android.Views; +using Android.Views; using System; using System.Collections.Generic; @@ -105,7 +105,10 @@ private void OnTouch(object sender, View.TouchEventArgs args) case MotionEventActions.PointerDown: FireEvent(this, id, TouchActionType.Pressed, screenPointerCoords, true); + if (!_idToTouchHandlerDictionary.ContainsKey(id)) + { _idToTouchHandlerDictionary.Add(id, this); + } _capture = Capture;