예제 #1
0
        //Called if user taps a row (as opposed to programatically changing the selection)
        private void PlanetListView_ItemTapped(object sender, ItemTappedEventArgs e)
        {
            string itemString  = (string)e.Item;
            int    selectedRow = e.ItemIndex;

            vm.UserTappedList(row: selectedRow, planetString: itemString);
        }
        //Called if user taps a row (as opposed to programatically changing the selection)
        private void PlanetListView_ItemTapped(object sender, ItemTappedEventArgs e)
        {
            SolPlanet item        = (SolPlanet)e.Item;
            int       selectedRow = e.ItemIndex;

            vm.UserTappedList(row: selectedRow, planet: item);
        }