public static async Task <string> DisplayActionSheetAsync(this IPageDialogService pageDialogService, string title, string message, string cancelButton, string destroyButton, params string[] otherButtons) { var page = ActionSheetPage.CreatePage(title, message, cancelButton, destroyButton, otherButtons); return(await pageDialogService.DisplayActionSheetAsync(page)); }
public ActionSheetPageBase GetActionSheet(ActionSheetRequest request) => ActionSheetPage.CreatePage(request);
protected virtual ActionSheetPageBase GetActionSheet(string title, string message, string cancelButton, string destroyButton, string[] otherButtons) { return(ActionSheetPage.CreatePage(title, message, cancelButton, destroyButton, otherButtons)); }