Closed
Description
Hi,
In my app, there are two toolbar items in main navigationPage;
//App.cs
Nav = new NavigationPage (new PageHome ());
Nav.BarTextColor = Color.White;
Nav.ToolbarItems.Add (new ToolbarItem {
Icon = "ic_action_toolbar_icon2.png",
Command = new Command(new Action(() => {
App.Nav.PopToRootAsync();
})),
});
Nav.ToolbarItems.Add (new ToolbarItem {
Icon = "ic_action_toolbar_icon3.png",
Command = new Command(new Action(() => {
var page = new PageDays();
App.Nav.PopToRootAsync();
App.Nav.PushAsync(page);
})),
});
MainPage = new PageMaster ();
//PageMasterDetail.cs
Detail = App.Nav;
Master = new PageMenu ();