Exemple #1
0
        public async void LoadPokemons()
        {
            Pokemons = await PokemonAPIDAL.LoadPokemons();

            if (Pokemons.Count > 0)
            {
                SelectedPokemon = Pokemons[0];
            }
        }
Exemple #2
0
 public async void LoadPokemons()
 {
     Pokemons = await PokemonAPIDAL.LoadPokemons();
 }