In the sample code from Xamarin website, the Detail page was added to a NavigationPage
Detail = new NavigationPage(new TestPage());
Does TestPage have to be wrapped by NavigationPage? If I remove NavigationPage and just put new TestPage()
, it will work on me. If I keep NavigationPage in, I have the error which I have posted in here.
If without NavigationPage, the hamburger icon will be gone, even though still able to show the master page.