Exemple #1
0
        public Task NavigateMainPage(Pages key)
        {
            switch (key)
            {
            case Pages.Landing:
                MainPage = new NavigationPage(new MainPage());

                break;

            case Pages.AfterLogin:
                MainPage = new AfterLoginPage();
                break;

            default:
                MainPage = new NavigationPage(new MainPage());
                break;
            }
            return(Task.FromResult(true));
        }
Exemple #2
0
 public void OnLogin()
 {
     MainPage = new AfterLoginPage();
 }