public MainPageViewModel(OrdersRepository repository) {
            this.repository = repository;
            Orders = repository.Orders;
			this.SwipeButtonCommand = new Command((o) => SwipeButtonClickExecute(o));
			this.refreshCommand = new Command(ExecuteRefreshCommand);
            this.market = new MarketSimulator();
        }
 void BindData() {
     BindingContext = this;
     this.repository = new DemoOrdersRepository();
     this.Orders = repository.Orders;
     PullToRefreshCommand = new Command(ExecutePullToRefreshCommand);
 }
 void BindData() {
     BindingContext = this;
     this.repository = new DemoOrdersRepository();
     this.Orders = repository.Orders;
     LoadMoreCommand = new LoadMoreDataCommand(ExecuteLoadMoreCommand);
 }