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); }