<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Xamarin android MapView events are not triggering in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/xamarin-android-mapview-events-are-not-triggering/m-p/422631#M2833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IDE: Visual Studio 2015&lt;/P&gt;&lt;P&gt;ArcGIS Runtime version: ArcGIS Runtime SDK for .NET - Xamarin.Android, v100.0.0.0 (release)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was attempting to add event handlers to the Click event to the &lt;SPAN style="text-decoration: underline;"&gt;Esri.ArcGISRuntime.UI.Controls.MapView&lt;/SPAN&gt; control.&lt;/P&gt;&lt;P&gt;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).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this considered a bug?&lt;/P&gt;&lt;P&gt;How should the event handled be correctly?&lt;/P&gt;&lt;P&gt;What alternatives is there to implement a click function on the MapView?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Dec 2016 09:17:44 GMT</pubDate>
    <dc:creator>EdL</dc:creator>
    <dc:date>2016-12-12T09:17:44Z</dc:date>
    <item>
      <title>Xamarin android MapView events are not triggering</title>
      <link>https://community.esri.com/t5/developers-questions/xamarin-android-mapview-events-are-not-triggering/m-p/422631#M2833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IDE: Visual Studio 2015&lt;/P&gt;&lt;P&gt;ArcGIS Runtime version: ArcGIS Runtime SDK for .NET - Xamarin.Android, v100.0.0.0 (release)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was attempting to add event handlers to the Click event to the &lt;SPAN style="text-decoration: underline;"&gt;Esri.ArcGISRuntime.UI.Controls.MapView&lt;/SPAN&gt; control.&lt;/P&gt;&lt;P&gt;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).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this considered a bug?&lt;/P&gt;&lt;P&gt;How should the event handled be correctly?&lt;/P&gt;&lt;P&gt;What alternatives is there to implement a click function on the MapView?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 09:17:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/xamarin-android-mapview-events-are-not-triggering/m-p/422631#M2833</guid>
      <dc:creator>EdL</dc:creator>
      <dc:date>2016-12-12T09:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Xamarin android MapView events are not triggering</title>
      <link>https://community.esri.com/t5/developers-questions/xamarin-android-mapview-events-are-not-triggering/m-p/422632#M2834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found the solution to this. &lt;/P&gt;&lt;P&gt;Apparently MapView.GeoViewTapped event was the event I was supposed to be using.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 07:05:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/xamarin-android-mapview-events-are-not-triggering/m-p/422632#M2834</guid>
      <dc:creator>EdL</dc:creator>
      <dc:date>2016-12-15T07:05:21Z</dc:date>
    </item>
  </channel>
</rss>

