Exemplo n.º 1
0
        public ItemDetailPage(ItemDetailViewModel viewModel, Negocios n)
        {
            InitializeComponent();
            this.n = n;

            BindingContext = this.viewModel = viewModel;
        }
Exemplo n.º 2
0
        public NegocioEditPage(ItemDetailViewModel viewModel, Negocios n)
        {
            InitializeComponent();
            this.n = n;

            BindingContext = this.viewModel = viewModel;
            fotoVieja      = viewModel.Negocio.foto;
        }
Exemplo n.º 3
0
        public NewItemPage(Negocios n)
        {
            InitializeComponent();
            this.n = n;
            Item   = new Item
            {
                Text        = "Item name",
                Description = "This is an item description."
            };

            BindingContext = this;
        }