public async Task Info() { MessageViewPop popUp = new MessageViewPop(); ((MessageViewModel)popUp.BindingContext).Message = "Barcelona es el mejor equipo del mundo"; await PopupNavigation.Instance.PushAsync(popUp); }
public async Task RecibirUsuarioSeleccionado(TestModel item) { TestActual = item; MessageViewPop popUp = new MessageViewPop(); ((MessageViewModel)popUp.BindingContext).Message = "El usuario seleccionado es " + TestActual.Nombre; await PopupNavigation.Instance.PushAsync(popUp); }
public RegistroViewModel() { PopUp = new MessageViewPop(); Usuario = new User(); IsGuardarEnable = true; InitializeRequest(); InitializeCommands(); InitializeFields(); }
public PlatosViewModel() { PopUp = new MessageViewPop(); Plato = new PlatoModel(); IsGuardarEnable = true; IsBuscarEnable = true; Platos = new ObservableCollection <PlatoModel>(); InitializeRequest(); InitializeCommands(); InitializeFields(); }
public CategoryViewModel() { PopUp = new MessageViewPop(); Categoria = new CategoriaModel(); IsGuardarEnable = false; IsEliminarEnable = false; IsGuardarEditar = false; IsBuscarEnable = false; Categorias = new ObservableCollection <CategoriaModel>(); InitializeRequest(); InitializeCommands(); InitializeFields(); }