Beispiel #1
0
        protected async Task DisplayActionSheetAsync(ActionSheetPageBase actionSheetPage, bool animated)
        {
            await _popupNavigation.PushAsync(actionSheetPage, animated);

            var button = await actionSheetPage.GetActionSheetResultAsync();

            button.PressButton();
            await _popupNavigation.RemovePageAsync(actionSheetPage, animated);
        }
        public static async Task <string> DisplayActionSheetAsync(this IPageDialogService pageDialogService, ActionSheetPageBase actionSheetPage)
        {
            await PopupNavigation.PushAsync(actionSheetPage, true);

            return(await actionSheetPage.GetActionSheetResultAsync());
        }
Beispiel #3
0
        public async Task <string> DisplayActionSheetAsync(ActionSheetPageBase actionSheetPage)
        {
            await PopupNavigation.PushAsync(actionSheetPage, true);

            return(await actionSheetPage.GetActionSheetResultAsync());
        }