public MedItemDetail(MeditationModel item) { InitializeComponent(); medItem = item; medVM = new MeditationItemDetailVM(); BindingContext = medVM; }
public MedItemDetail() { InitializeComponent(); ToolbarItems.Add(new ToolbarItem("", "icon_home_white.png", () => { Application.Current.MainPage = new Views.Menu.MainPage(); })); meditationVM = new MeditationItemDetailVM(); BindingContext = meditationVM; }