private async Task ConfirmAlertDialog() { var a = await DialogService.ConfirmDialog("Confirm Dialog", "do you like this message?", "yes", "no"); if (a) { await DialogService.ShowMessage("Yes", "i like it!", "ok"); } }