I have MasterDetailPage with burger button. For this I make this navigation path:
var navigationStack = new Uri("https://Necessary/" + $"{nameof(ProfilePage)}/{nameof(NavigationBarPage)}/{nameof(DetailPage)}", UriKind.Absolute);
await _navigationService.NavigateAsync(navigationStack, parameters, animated: false);
ProfilePage - MasterDetailPage, NavigationBarPage - NavigationPage
But I realized that because of it, viewmodels calls two times, one for ProfilePage - that causes to call DetailPageViewModel and Master.. and all childrens of Detail because it is Tabbed Page. And then when path comes to DetailPage, it calls its childrens one more time.
It is bad behavior for me. Is I am doing something wrong? And how I can avoid it with same look of my page?
If it will be {nameof(ProfilePage)}/{nameof(NavigationBarPage)} it will not look same like I want, because Toolbar will hide a part of MasterPage.