Exemplo n.º 1
0
        private void ApiCallingErrorHandler(ServiceCaller obj, Exception ex)
        {
#if DEBUG
            App.Current.MainPage.DisplayAlert("Api call error", ex.Message, "Cancel");
#else
            App.Current.MainPage.DisplayAlert("Error", "Something went wrong. Try again later.", "Cancel");
#endif
        }
Exemplo n.º 2
0
 private void NoInternetHandler(ServiceCaller obj)
 {
     App.Current.MainPage.DisplayAlert("Error", "No internet access", "Cancel");
 }