Пример #1
0
        private async void LoadAuthorDetails(int?id)
        {
            try
            {
                Author author = await dataRetriever.GetAuthorAsync(id);

                BindingContext = author;
            }
            catch (System.Net.WebException e)
            {
                await DisplayAlert("Alert", "Please check your internet connection", "OK");

                await Navigation.PopAsync();
            }
        }