private async Task ConstellationsListView_ItemSelected(object sender, SelectedItemChangedEventArgs e) { if (e.SelectedItem == null) { return; } InfoPage page = new InfoPage(); await Navigation.PushModalAsync(page); page.SetConstellationInfo((Constellation)e.SelectedItem); ConstellationsListView.SelectedItem = null; }
private async Task DSOListView_ItemSelected(object sender, SelectedItemChangedEventArgs e) { if (e.SelectedItem == null) { return; } InfoPage page = new InfoPage(); await Navigation.PushModalAsync(page); page.SetDSOInfo((DSO)e.SelectedItem); dsoListView.SelectedItem = null; }