public HomePage() { NavigationPage.SetHasNavigationBar(this, false); IsGestureEnabled = false; Master = new MenuPage(); Master.Icon = "action_menu.png"; var todayPage = new TodayPage (); Detail = new BaseNavigationPage(todayPage); IsPresentedChanged += (sender, e) => { if(IsPresented){ todayPage.FadeOut(); } else { todayPage.FadeIn(); } }; }
public App() { // The root page of your application MainPage = new BaseNavigationPage(new LoginPage()); }