Hi there,

I have a question regarding WP back Button behavior, below is the problem:
Suppose that I have two pages (page1 and page2), page1 have OnNavigatedTo method which
will fire when going back page1 and set its state to s1.

Now suppose that page1 is in state s2 (different than s1), I go to page2, then back to page1 using the back button.

what I expect that page1 state s2 to be preserved, but actually the OnNavigatedTo method is called and it sets page1 to state s1.

Is there anyway to avoid such behavior, I need to use the OnNavigatedTo method to preserve the state when returning from (tombstone state), but this way it is interfering with the back button?

any ideas?