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;
        }
Exemplo n.º 2
0
        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;
        }