AnsweredAssumed Answered

Xamarin android MapView events are not triggering

Question asked by WMELEE on Dec 12, 2016
Latest reply on Dec 14, 2016 by WMELEE

IDE: Visual Studio 2015

ArcGIS Runtime version: ArcGIS Runtime SDK for .NET - Xamarin.Android, v100.0.0.0 (release)


I was attempting to add event handlers to the Click event to the Esri.ArcGISRuntime.UI.Controls.MapView control.

The events were defined in my OnCreateView lifecycle event of my fragment. Running the android app, I find that the MapView's Click event wasn't triggered at all (neither is Touch event).


I tried creating a new ArcGIS android solution, and only adding events to both the Click and Touch event handlers and still got no response. The events were added in OnCreate lifecycle event though.



Is this considered a bug?

How should the event handled be correctly?

What alternatives is there to implement a click function on the MapView?