﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Crosslight - Crosslight Application State</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Application-State/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Crosslight Application State</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Application-State/</link><pubDate>Sat, 20 Dec 2014 12:56:21 GMT</pubDate><dc:creator>technical@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Thomas,&lt;/p&gt;&lt;p&gt;The StateAware attribute is particularly introduced to support automatic state restoration in Windows 8 platform. So if users navigated to several levels down then suspend the app, Crosslight can restore the navigation stacks completely and obtain the navigation parameters from ViewModel/Model through properties marked with StateAware attribute.&lt;/p&gt;&lt;p&gt;Hope this helps.&lt;/p&gt;</description></item><item><title>Crosslight Application State</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Application-State/</link><pubDate>Thu, 18 Dec 2014 15:30:18 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;Thanks for answering.&lt;/p&gt;&lt;p&gt;I wonder what the "StateAware" attribute is used for? Is there an automatic mechanism for saving "StateAware" viewmodel properties when an app gets suspended or terminated?&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight Application State</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Application-State/</link><pubDate>Thu, 18 Dec 2014 08:47:03 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Sorry for the delay in sending this.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Crosslight provides an architectural design called &lt;em&gt;application service&lt;/em&gt; which controls the application's main entry point and maintains its life cycle. You can implement an application service by deriving from the ApplicationServiceBase class.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;For more detail information, I recommend you to check the "Implementing Crosslight Application Service" documentation in &lt;a href="http://developer.intersoftpt.com/display/crosslight/Implementing+Crosslight+Application+Service" target="_blank"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The sync process in the &lt;a href="http://git.intersoftpt.com/projects/CROS/repos/samples/browse/SyncSample" target="_blank"&gt;Sync Sample&lt;/a&gt; will be automatically triggered in the following events:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="color: #1f497d;"&gt;&lt;li&gt;Application Start&lt;/li&gt;&lt;li&gt;Application Resume&lt;/li&gt;&lt;li&gt;background interval&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;To learn how data synchronization works and see it in action, please check out the Synchronization Sample which demonstrates a fully-functional simple task app with two-way sync support.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hope this help.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight Application State</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Application-State/</link><pubDate>Tue, 16 Dec 2014 05:49:59 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Any news?&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight Application State</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Application-State/</link><pubDate>Fri, 12 Dec 2014 13:55:18 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Crosslight Support,&lt;/p&gt;&lt;p&gt;is there any sample (iOS and Android) about application state. With this I mean the following:&lt;/p&gt;&lt;p&gt;(1)&amp;nbsp;You work with the application and therefore the application has a certain state (special things are selected, maybe some text was entered).&lt;/p&gt;&lt;p&gt;(2)&amp;nbsp;Now, the application suspends or terminates.&lt;/p&gt;&lt;p&gt;(3)&amp;nbsp;When restarting the app, I want to restore the state of (1).&lt;/p&gt;&lt;p&gt;There are the lifecycle events for resume, terminate, start and there is a "StateAware" attribute. But how to use them properly? As said, an example for iOS and Android would be nice.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>