<?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 why the SketchEditor always is null in xamarin.Android in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/why-the-sketcheditor-always-is-null-in-xamarin/m-p/452898#M5537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to draw polyline use&amp;nbsp;&lt;SPAN&gt;SketchEditor in Android, but this&amp;nbsp;SketchEditor always is null,why?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my code as&amp;nbsp;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-size: 14px;"&gt;follow：&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btnEdit = FindViewById&amp;lt;Button&amp;gt;(Resource.Id.button1);&lt;BR /&gt; btnEdit.Click += (s, e) =&amp;gt; {&lt;BR /&gt; try&lt;BR /&gt; {&lt;BR /&gt; SketchEditor se = new SketchEditor();&lt;BR /&gt; this._mapView.SketchEditor = se;&lt;BR /&gt; this._mapView.SketchEditor.StartAsync(SketchCreationMode.Polyline);&lt;BR /&gt; }&lt;BR /&gt; catch(Exception ex)&lt;BR /&gt; {&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-size: 14px;"&gt;Really looking forward to answer&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f8f8f8; color: #2b2b2b; font-size: 14px; line-height: 24.2199993133545px;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Apr 2017 15:16:34 GMT</pubDate>
    <dc:creator>xipeng</dc:creator>
    <dc:date>2017-04-11T15:16:34Z</dc:date>
    <item>
      <title>why the SketchEditor always is null in xamarin.Android</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-the-sketcheditor-always-is-null-in-xamarin/m-p/452898#M5537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to draw polyline use&amp;nbsp;&lt;SPAN&gt;SketchEditor in Android, but this&amp;nbsp;SketchEditor always is null,why?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my code as&amp;nbsp;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-size: 14px;"&gt;follow：&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btnEdit = FindViewById&amp;lt;Button&amp;gt;(Resource.Id.button1);&lt;BR /&gt; btnEdit.Click += (s, e) =&amp;gt; {&lt;BR /&gt; try&lt;BR /&gt; {&lt;BR /&gt; SketchEditor se = new SketchEditor();&lt;BR /&gt; this._mapView.SketchEditor = se;&lt;BR /&gt; this._mapView.SketchEditor.StartAsync(SketchCreationMode.Polyline);&lt;BR /&gt; }&lt;BR /&gt; catch(Exception ex)&lt;BR /&gt; {&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-size: 14px;"&gt;Really looking forward to answer&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f8f8f8; color: #2b2b2b; font-size: 14px; line-height: 24.2199993133545px;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 15:16:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-the-sketcheditor-always-is-null-in-xamarin/m-p/452898#M5537</guid>
      <dc:creator>xipeng</dc:creator>
      <dc:date>2017-04-11T15:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: why the SketchEditor always is null in xamarin.Android</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-the-sketcheditor-always-is-null-in-xamarin/m-p/452899#M5538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are aware of this issue. This bug is already logged in our bug tracking system. We will try to get this fixed in upcoming release in summer. At this point , the workaround would be to create the layout in the activity and add the MapView from within the activity.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt; &lt;SPAN class="keyword token"&gt;protected&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;override&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;OnCreate&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Bundle bundle&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;base&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;OnCreate&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;bundle&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 layout &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;LinearLayout&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt; Orientation &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Orientation&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Vertical &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;MapView&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 Map &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Map&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Basemap&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CreateImagery&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

 ButtonStart &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Button&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 Text &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Start"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 Click &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; BtnClickAsync&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

 &lt;SPAN class="token function"&gt;AddView&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ButtonStart&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="token function"&gt;AddView&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;_mapView&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 layout&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:12:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-the-sketcheditor-always-is-null-in-xamarin/m-p/452899#M5538</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2021-12-11T20:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: why the SketchEditor always is null in xamarin.Android</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-the-sketcheditor-always-is-null-in-xamarin/m-p/452900#M5539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-weight: bold; font-size: 18px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f8f8f8; color: #2b2b2b; font-size: 18px; line-height: 31.1399993896484px;"&gt;&lt;STRONG&gt;thanks for your answer, expect to fix the bug at early date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 02:08:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-the-sketcheditor-always-is-null-in-xamarin/m-p/452900#M5539</guid>
      <dc:creator>xipeng</dc:creator>
      <dc:date>2017-04-12T02:08:03Z</dc:date>
    </item>
  </channel>
</rss>

