public MainScreen() { var ViewModel = new HotelsGroupViewModel(); this.BindingContext = ViewModel; InitializeComponent(); }
public Hotels(HotelsGroupViewModel viewModel, ListStores list) { InitializeComponent(); this.ViewModel = viewModel; listStore = list; storeTitle.Text = list.store; ListProduct(); CheckList(); statesPicker.SelectedIndex = 0; Unit.SelectedIndex = 3; }
public Hotels(HotelsGroupViewModel viewModel) { InitializeComponent(); this.ViewModel = viewModel; }