// ListView ItemSelected handler.
        async void OnListViewItemSelected(object sender, SelectedItemChangedEventArgs args)
        {
            if (args.SelectedItem != null)
            {
                // De-select the item.
                listView.SelectedItem = null;

                DataTransfer1InfoPage infoPage = new DataTransfer1InfoPage();
                await Navigation.PushAsync(infoPage);
                infoPage.InitializeInfo((Information)args.SelectedItem);
            }
        }
Ejemplo n.º 2
0
        // ListView ItemSelected handler.
        async void OnListViewItemSelected(object sender, SelectedItemChangedEventArgs args)
        {
            if (args.SelectedItem != null)
            {
                // De-select the item.
                listView.SelectedItem = null;

                DataTransfer1InfoPage infoPage = new DataTransfer1InfoPage();
                await Navigation.PushAsync(infoPage);

                infoPage.InitializeInfo((Information)args.SelectedItem);
            }
        }