Пример #1
0
        public override void OnInitialize()
        {
            base.OnInitialize();

            DoWorkAsync().FireAndForget(ex =>
            {
                _dialogsService.ShowDialogAsync(new AlertDialogConfig("Error", ex.Message, "OK"));
            });
        }
Пример #2
0
        public override void OnAppearing()
        {
            base.OnAppearing();

            var message = Person?.FullName ?? string.Empty;

            _dialogsService.ShowDialogAsync(new AlertDialogConfig("Navigation parameter:", message, "OK"));
        }
Пример #3
0
 private async Task GroupInfo(ProductHeaderViewModel groupHeader)
 {
     await _dialogsService.ShowDialogAsync(new AlertDialogConfig("Info", $"{groupHeader.Category}th section.", "OK"));
 }