Mvvm Navigation - PushAsync does not hit Viewmodel Constructor

I am using mvvm and I Navigate from page to page with

await App.Current.MainPage.Navigation.PushAsync(new page2(), true);

Lets say I want to navigate from page1 to page2.

When I use the back button, in order to navigate back from page2, the viewmodel constructor of page1 is not executed. Is that the expected behaviour?
In the viewmodel I do some binding and when I navigate back those bindings are not made so I get the previous state of the page. Can you suggest me any way of activating viewmodel functionality from back button ?


Sign In or Register to comment.