示例#1
0
        public VerMochila()
        {
            InitializeComponent();

            var item = new Mochila
            {
                UUID        = "Item 1",
                Descripcion = "This is an item description."
            };

            viewModel      = new VerMochilaViewModel(item);
            BindingContext = viewModel;
        }
示例#2
0
        public VerMochila(VerMochilaViewModel viewModel)
        {
            InitializeComponent();

            BindingContext = this.viewModel = viewModel;
        }