private async void People_lv_ItemInvoked(object sender, ListViewItem e) { Devices.Clear(); Rooms.Clear(); var selectedItem = (Home)((NavMenuListView)sender).ItemFromContainer(e); await _accountsViewModel.GetRooms(selectedItem.Id); foreach (Room Room in _accountsViewModel.Rooms) { Rooms.Add(Room); } //foreach (ImageMenuItem _item in items) //{ // _item.IsSelected = false; //} //var item = (ImageMenuItem)((NavMenuListView)sender).ItemFromContainer(e); //if (item != null) //{ // item.IsSelected = true; // Rooms.Clear(); // Devices.Clear(); // foreach (Room Room in App.RoomsViewModel.Rooms) // { // Rooms.Add(Room); // } //} }