I want to make my xamarin forms app when the menu item is clicked instead change the master detail page it go to another page and shows navigation bar with back button in the top. but i got confused in how to change the on menu item selected, here is my onmenuitemSelected
private void OnMenuItemSelected(object sender, SelectedItemChangedEventArgs e)
{
var item = (DrawerItem)e.SelectedItem;
Type page = item.TargetType;
//Navigation.PushAsync((Page)Activator.CreateInstance(page));
//new NavigationPage((Page)Activator.CreateInstance(page));
Detail = new NavigationPage((Page)Activator.CreateInstance(page));
IsPresented = false;
}
As you can see in the comment tag i already try to do Navigation.Push async and tried New NavigationPage only without Detail but when im click the menu item its do nothing, so what code should i write to do that.