Exemplo n.º 1
0
 public UserDialogs()
 {
     _progressDialogConfig = new ProgressDialogConfig()
     {
         MaskType = MaskType.Gradient,
         Title    = "Chargement..."
     };
     _progressDialog = new Acr.UserDialogs.ProgressDialog(_progressDialogConfig, (MainActivity)Forms.Context); // (Activity)Xamarin.Forms.Forms.Context);
 }
        public void Show(string message)
        {
            dlg = new Acr.UserDialogs.ProgressDialog(new ProgressDialogConfig()
            {
                AutoShow        = true,
                Title           = "Saving your awesome new spot...",
                IsDeterministic = false
            }, Forms.Context as Activity);

            dlg.Show();
        }
 public void Hide()
 {
     dlg.Hide();
     dlg = null;
 }