I am using from codeplex Tombstone Helper (Tombstone Helper) and am having problems fast switching between apps.
I've included the "two line code" method and am testing my app in the emulator.
I've activated the tombstoning option for debugging. all my controls have names; i then press the 'home' button and when i go back to my app i still see the "Resuming" loading message. I have in my App.xaml.cs a bool to see if my app was dormant or tombstoned :
WasTombstoned = !e.IsApplicationInstancePreserved;
and in my xaml view page i have :
protected override void OnNavigatedTo(NavigationEventArgs e)
{
if(App.WasTombstoned == true)
this.RestoreState();
}
protected override void OnNavigatingFrom(System.Windows.Navigation.NavigatingCancelEventArgs e)
{
this.SaveState(e);
}
What am i doing wrong?