Esempio n. 1
0
        public NewItemPage()
        {
            InitializeComponent();

            Item = new Models.BuyerProduct()
            {
                Buyer = new Models.Buyer()
                {
                    Name = "Buyer name"
                },
                Product = new Models.Product()
                {
                    Name = "This is a product description."
                }
            };

            BindingContext = this;
        }
Esempio n. 2
0
 public ItemDetailViewModel(Crop.Models.BuyerProduct item = null)
 {
     Title = item?.Buyer.Name;
     Item  = item;
 }