示例#1
0
        private async Task OpenAddNewItemPage()
        {
            NewItemPage newItemPage = new NewItemPage(false, null);

            newItemPage.CallbackEvent += async(object sender, object e) => await NewItemPageCallbackMethod();

            await Navigation.PushModalAsync(new NavigationPage(newItemPage));
        }
示例#2
0
        private async Task OpenAddNewItemPage(ItemsWithRating item)
        {
            NewItemPage newItemPage = new NewItemPage(true, item.item);

            newItemPage.CallbackEvent += async(object sender, object e) => await NewItemPageCallbackMethod();

            await Navigation.PushModalAsync(new NavigationPage(newItemPage));
        }