Exemplo n.º 1
0
        public MenuPage(DemoMasterDetailPage rootPage)
        {
            _rootPage = rootPage;
            Title = "Menu";
            InitializeComponent ();

            NavView.NavigationItemSelected += NavViewOnNavigationItemSelected;
        }
Exemplo n.º 2
0
        public App()
        {
            InitializeComponent ();

            switch (Device.OS) {
            case TargetPlatform.Android:
                MainPage = new DemoMasterDetailPage ();
                break;
            case TargetPlatform.iOS:
                MainPage = new DemoTabbedPage ();
                break;
            }
        }