<?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 Re: Mobile Apps State in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151835#M3556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using a ViewNavigatorApplication.&amp;nbsp; I tried setting the persistNavigatorState="true" and in the view I set the destructionPolicy="never" but the map still goes back to its origional state when I navigate back to it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Oct 2011 21:03:12 GMT</pubDate>
    <dc:creator>BrianGustafson</dc:creator>
    <dc:date>2011-10-13T21:03:12Z</dc:date>
    <item>
      <title>Mobile Apps State</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151830#M3551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have an application with multiple views and when I get back to the map view the map goes back to its original state.&amp;nbsp; Is there away to keep the map state when I navigate between views?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 21:00:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151830#M3551</guid>
      <dc:creator>BrianGustafson</dc:creator>
      <dc:date>2011-10-12T21:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile Apps State</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151831#M3552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a guess, but can't you use the state as data when pushing between map view and other views?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/Karl M&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Växjö, Sweden&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;navigator.pushView(yourview, thestatename);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 05:45:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151831#M3552</guid>
      <dc:creator>KarlMagnusson</dc:creator>
      <dc:date>2011-10-13T05:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile Apps State</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151832#M3553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have not found a way, but I was able to create a different way to retain the map view when I wanted to display data from an identify task. I created a new vgroup with my identify results and set the visibility to false, then made a button that did this &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp; private function change():void
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; if (map.visible==true)
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; map.visible = false;
&amp;nbsp;&amp;nbsp;&amp;nbsp; resultlist.visible = true;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; else
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; map.visible = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp; resultlist.visible = false;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;works well for my application&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:08:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151832#M3553</guid>
      <dc:creator>AaronNash</dc:creator>
      <dc:date>2021-12-11T08:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile Apps State</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151833#M3554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At the user conference during the advanced flex session this was done and I thought that there was a property on the map or on the view that was set.&amp;nbsp; I did not write it down and I cannot find the code or slides from the session.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 18:45:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151833#M3554</guid>
      <dc:creator>BrianGustafson</dc:creator>
      <dc:date>2011-10-13T18:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile Apps State</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151834#M3555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if you are using a TabbedViewNavigatorApplication you can set persistNavigatorState="true" and in each view set destructionPolicy="never" if this is set the views will be cached in memory.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 20:55:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151834#M3555</guid>
      <dc:creator>AaronNash</dc:creator>
      <dc:date>2011-10-13T20:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile Apps State</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151835#M3556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using a ViewNavigatorApplication.&amp;nbsp; I tried setting the persistNavigatorState="true" and in the view I set the destructionPolicy="never" but the map still goes back to its origional state when I navigate back to it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 21:03:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151835#M3556</guid>
      <dc:creator>BrianGustafson</dc:creator>
      <dc:date>2011-10-13T21:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile Apps State</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151836#M3557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;just create a button and the click should be click="navigator.popView()" just tested it in a new view and I was able to go back to my map view without starting from the beginning&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 21:48:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151836#M3557</guid>
      <dc:creator>AaronNash</dc:creator>
      <dc:date>2011-10-13T21:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile Apps State</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151837#M3558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That was all it took.&amp;nbsp; I was using pushView() for both when I really only needed it to pass data to one view and not back to the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 13:05:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mobile-apps-state/m-p/151837#M3558</guid>
      <dc:creator>BrianGustafson</dc:creator>
      <dc:date>2011-10-14T13:05:13Z</dc:date>
    </item>
  </channel>
</rss>

