Exemplo n.º 1
0
        public PastOrdersDetailPage()
        {
            InitializeComponent();

            var order = new Order

            {
                //Text = "Item 1",
            };

            viewModel      = new PastOrdersDetailViewModel(order);
            BindingContext = viewModel;
        }
Exemplo n.º 2
0
 public PastOrdersDetailPage(PastOrdersDetailViewModel viewModel)
 {
     InitializeComponent();
     BindingContext = this.viewModel = viewModel;
 }