I have a MasterDetail Page and I want to implement a NavigationService using the following guide:
The problem is that in how to push to master page or detail .
You can access Detail page in ViewModel. you need to cast App.Current.MainPage as MasterDetailPage.
async Task NavigateNext()
await (App.Current.MainPage as MasterDetailPage).Detail.Navigation.PushAsync(new Menu1Page());
//(App.Current.MainPage as MasterDetailPage).IsPresented = false;
Please refer to this link.https://stackoverflow.com/questions/53203379/how-to-push-pages-to-masterdetailpage-using-mvvm
Are there any updates for this issue? If the reply is helpful, please try to mark it as an answer, it will help others who have similar issue.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies