Is there a best practice to manage the tombstone state in a Windows Phone 7 application

StackOverflow https://stackoverflow.com/questions/7604102

  •  05-02-2021
  •  | 
  •  

سؤال

When A WP7 app goes into tombstone state, it is my responsibility to save all the application and page state. That way when the page gets reloaded it can recover and reload the previous data without the user realizes that the application process got terminated and reloaded.

Coming from the Android world, I am a new WP7 programmer and don't want to have to reinvent the wheel.

Is there a standard way to handle the tombstone state?

هل كانت مفيدة؟

المحلول

Some of the application frameworks like Caliburn Micro have built in tombstone support to help you along.

If you're not using a framework like this then I have heard good things (but not personally used) a library named Tombstone Helper that could help you out.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top