Xamarin android MapView events are not triggering

1774
1
12-12-2016 01:17 AM
EdL
by
New Contributor II

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?

0 Kudos
1 Reply
EdL
by
New Contributor II

I have found the solution to this.

Apparently MapView.GeoViewTapped event was the event I was supposed to be using.