Master details page keep resetting the navigation when the orientation changes
Hello,

So I followed a few examples on how to create a master details page with mvvm cross and all of them do this in the view model

`public override async void ViewAppearing()
{
            base.ViewAppearing();

            await _navigationService.Navigate<SideNavViewModel>();
            await _navigationService.Navigate<HomeViewModel>();
}`

The issue is if you change the page and rotate the device this will be called again and navigate back to HomeViewModel.

I tried creating `_isFirst` property and setting it to false after the property also resets to true after the orientation changes.

Am I missing something here?

Edit: So I just tried again with an empty project from the MvxScaffolding and added a  label with a text and a button that changes the text, after clicking the button and changing the orientation the label text resets. Is this intended?

Edit: Looks like it is navigating to a new instance of the viewmodel on each orientation change.

BTW using xamarin forms.

Regards

 
