public NavigationMaster() { InitializeComponent(); BindingContext = new NavigationMasterViewModel(); ListView = MenuItemsListView; }
public NavigationMasterPage(NavigationMasterViewModel navigationMasterViewModel) { InitializeComponent(); _navigationMasterViewModel = navigationMasterViewModel; _navigationMasterViewModel.ConnectedToPage = this; BindingContext = _navigationMasterViewModel; //This is for Android, we dont want to have the row selected in the menu listView.ItemSelected += (s, e) => { listView.SelectedItem = null; }; }
public NavigationMaster() { InitializeComponent(); BindingContext = new NavigationMasterViewModel(); }