Example #1
0
        public RootPage()
        {
            Current = this;

            accountsList = new AccountsList {
                Title = "Accounts", Icon = "glyphish_104_index_cards.png"
            };
            accountsTab = new NavigationPage {
                Title = "Accounts", Icon = "glyphish_104_index_cards.png"
            };
            accountsTab.PushAsync(accountsList);

            productsList = new ProductList {
                Title = "Products", Icon = "glyphish_24_gift.png"
            };
            productsTab = new NavigationPage {
                Title = "Products", Icon = "glyphish_24_gift.png"
            };
            productsTab.PushAsync(productsList);

            monkeysList = new MonkeyList {
                Title = "Monkeys", Icon = "monkey_grey.png"
            };
            monkeysTab = new NavigationPage {
                Title = "Monkeys", Icon = "monkey_grey.png"
            };
            monkeysTab.PushAsync(monkeysList);

            search = new Search {
                Title = "Account Search", Icon = "glyphish_06_magnify.png"
            };
            searchTab = new NavigationPage {
                Title = "Search", Icon = "glyphish_06_magnify.png"
            };
            searchTab.PushAsync(search);

            Children.Add(accountsTab);
            Children.Add(productsTab);
            Children.Add(monkeysTab);
            Children.Add(searchTab);
        }
Example #2
0
        public static Page GetMainPage()
        {
            var root = new RootPage();

            return(root);
        }
Example #3
0
		public static Page GetMainPage () 
		{	
			var root = new RootPage();
			return root;
		}