//loading progress dialog public void OnFailure(Java.Lang.Exception e) { MaterialAlertDialogBuilder alert = new MaterialAlertDialogBuilder(context); //Android.App.AlertDialog.Builder alert = new Android.App.AlertDialog.Builder(context); alert.SetTitle("Error"); alert.SetMessage(e.Message); alert.SetNeutralButton("OK", delegate { alert.Dispose(); }); alert.Show(); }
public void OnComplete(Task task) { MaterialAlertDialogBuilder alert = new MaterialAlertDialogBuilder(context); //Android.App.AlertDialog.Builder alert = new Android.App.AlertDialog.Builder(context); alert.SetTitle("Done"); alert.SetMessage(task.ToString()); alert.SetNeutralButton("OK", delegate { alert.Dispose(); }); alert.Show(); loadingDialog.Dismiss(); BtnRegister.Enabled = true; }
public void OnFailure(Java.Lang.Exception e) { MaterialAlertDialogBuilder alert = new MaterialAlertDialogBuilder(context); alert.SetTitle("Error"); alert.SetMessage(e.ToString()); alert.SetNeutralButton("OK", delegate { alert.Dispose(); }); alert.Show(); Console.WriteLine(e); }