WP7 Navigation question

Dec 8, 2011 at 12:49 AM

Should OnNavigationCompleted be called on back navigation to my viewmodel?  It fires for the other navigation to it, just not when the user is navigating back.

Coordinator
Dec 8, 2011 at 7:41 AM

Good question. Doesn't the back raise the NavigationCompleted event?

Coordinator
Dec 8, 2011 at 11:16 AM

There is no new view model constructed when the back button is used. Actually, it re-uses the previous one (thus no events are called). Do you need this feature?

Dec 8, 2011 at 7:17 PM

I mostly need to know when that page has become "active" again.  I have a one that needs to restart a background timer for instance.  Is there another method I can look at for this if NavigationComplete is not the proper place?

Coordinator
Dec 9, 2011 at 9:03 AM

I have created a workitem: http://catel.codeplex.com/workitem/7046

Will probably be implemented today.

Coordinator
Dec 9, 2011 at 9:57 AM

Fixed!

You can download the latest beta here:

http://dl.dropbox.com/u/8455721/Catel%20beta.zip