Exemple #1
0
        public static async Task PushPopUp(string page, params object[] param)
        {
            switch (page)
            {
            case PopUpKeys.Mensaje:
                MessageViewModel.GetInstance().Mensaje = param[0].ToString();
                await IsPopUpInstanced(new MessagePopUp());

                break;

            case PopUpKeys.Cargando:
                CargandoViewModel.GetInstance().Mensaje = param[0].ToString();
                await IsPopUpInstanced(new CargandoPopUp());

                break;
            }
        }
Exemple #2
0
 public CargandoPopUp()
 {
     InitializeComponent();
     BindingContext = CargandoViewModel.GetInstance();
 }