Ejemplo n.º 1
0
        public async void OnAddClicked()
        {
            var tab = new TabbedPage();

            tab.Title = "New Plan";

            var page  = new RecipeSearchPage();
            var page2 = new RecipeCollectionPage();

            tab.Children.Add(page);
            tab.Children.Add(page2);

            await Navigation.PushAsync(tab);
        }
Ejemplo n.º 2
0
        public async void OnAddClicked(DateTime date)
        {
            var tab = new TabbedPage();

            tab.Title = date.ToString("dddd, dd MMMM");

            var page  = new RecipeSearchPage(date);
            var page2 = new RecipeCollectionPage(date);

            tab.Children.Add(page);
            tab.Children.Add(page2);

            await Navigation.PushAsync(tab);
        }
Ejemplo n.º 3
0
        public async void OpenRecipeSearch(object sender, EventArgs e)
        {
            var tab = new TabbedPage();

            tab.Title = "New Plan";

            var page  = new RecipeSearchPage();
            var page2 = new RecipeCollectionPage();

            tab.Children.Add(page);
            tab.Children.Add(page2);

            await Navigation.PushAsync(tab);
        }