public App() { _testCloudService = DependencyService.Get <ITestCloudService>(); InitInsights(); MainPage = new MasterDetailPage { Master = new ContentPage { Title = "Master", BackgroundColor = Color.Red }, Detail = CoreGallery.GetMainPage() }; //// Uncomment to verify that there is no gray screen displayed between the blue splash and red MasterDetailPage. //MainPage = new Bugzilla44596SplashPage(() => //{ // var newTabbedPage = new TabbedPage(); // newTabbedPage.Children.Add(new ContentPage { BackgroundColor = Color.Red, Content = new Label { Text = "yay" } }); // MainPage = new MasterDetailPage // { // Master = new ContentPage { Title = "Master", BackgroundColor = Color.Red }, // Detail = newTabbedPage // }; //}); }
public App() { _testCloudService = DependencyService.Get <ITestCloudService>(); SetMainPage(CreateDefaultMainPage()); //TestMainPageSwitches(); }
public App() { _testCloudService = DependencyService.Get <ITestCloudService>(); SetMainPage(CreateDefaultMainPage()); //TestBugzilla44596(); //TestBugzilla45702(); }
public App() { _testCloudService = DependencyService.Get<ITestCloudService>(); InitInsights(); //MainPage = new MainPageLifeCycleTests(); MainPage = new MasterDetailPage { Master = new ContentPage { Title = "Master", BackgroundColor = Color.Red }, Detail = CoreGallery.GetMainPage() }; }
public App() { _testCloudService = DependencyService.Get <ITestCloudService>(); InitInsights(); MainPage = new MasterDetailPage { Master = new ContentPage { Title = "Master", BackgroundColor = Color.Red }, Detail = CoreGallery.GetMainPage() }; }
public App() { _testCloudService = DependencyService.Get <ITestCloudService>(); SetMainPage(CreateDefaultMainPage()); //// Uncomment to verify that there is no gray screen displayed between the blue splash and red MasterDetailPage. //SetMainPage(new Bugzilla44596SplashPage(() => //{ // var newTabbedPage = new TabbedPage(); // newTabbedPage.Children.Add(new ContentPage { BackgroundColor = Color.Red, Content = new Label { Text = "yay" } }); // MainPage = new MasterDetailPage // { // Master = new ContentPage { Title = "Master", BackgroundColor = Color.Red }, // Detail = newTabbedPage // }; //})); //// Uncomment to verify that there is no crash when switching MainPage from MDP inside NavPage //SetMainPage(new Bugzilla45702()); }