public App() { InitializeComponent(); // MainPage = new Home(); // MainPage = new NavigationPage(new Home()); MainPage = new AppMasterDetailPage(); }
public App() { InitializeComponent(); if (!DesignMode.IsDesignModeEnabled) { DataService = CloudFirestoreSerivice.GetInstance(); AuthService = FirebaseAuthenticationService.GetInstance(); } string username = GetUserEmail(); string password = Preferences.Get(Constants.PASSWORD_PREFERENCE, string.Empty); if (!string.IsNullOrEmpty(username) && !string.IsNullOrEmpty(password)) { MainPage = new AppMasterDetailPage();; } else { MainPage = new LoginPage(); } }
public App() { plannedExpenseJob = new PlannedExpenseJob(); InitializeComponent(); MainPage = new AppMasterDetailPage(); }