public static async Task DisplayActionSheetEx(this ICrossDialogProvider dialoger, string title, ICommand executeCommand, string destruction, params string[] buttons) { await dialoger.DisplayActionSheetEx(title, "Dismiss", destruction : destruction, executeCommand, buttons); }
public static async Task DisplayAlert(this ICrossDialogProvider dialoger, string message, Action <object> actionAccept, object actionAcceptParam = null) { await dialoger.DisplayAlertEx(title : "Alert", message : message, accept : "OK", actionAccept : actionAccept, actionAcceptParam : actionAcceptParam); }
public static async Task DisplayAlertEx(this ICrossDialogProvider dialoger, string message, Action <object> actionAccept, Action <object> actionCancel = null) { await dialoger.DisplayAlertEx(title : "Alert", message : message, accept : "OK", cancel : "Cancel", actionAccept : actionAccept, actionCancel : actionCancel); }
public static async Task DisplayAlertEx(this ICrossDialogProvider dialoger, string message, Task taskAccept) { await dialoger.DisplayAlertEx(title : "Alert", message : message, accept : "OK", commandAccept : ReactiveCommand.CreateFromTask(async() => await taskAccept)); }
public static async Task DisplayAlertEx(this ICrossDialogProvider dialoger, string message, ICommand commandAccept) { await dialoger.DisplayAlertEx(title : "Alert", message : message, accept : "OK", commandAccept : commandAccept); }
public static async Task DisplayAlert(this ICrossDialogProvider dialoger, string message) { await dialoger.DisplayAlert(title : "Alert", message : message, cancel : "Dismiss"); }