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

            if (Pokemons.Count > 0)
            {
                SelectedPokemon = Pokemons[0];
            }
        }
Exemple #2
0
 public async void LoadSinglePokemon()
 {
     Pokemon = await PokemonAPIDAL.LoadPokemon(SelectedPokemon.Url);
 }
Exemple #3
0
 public async void LoadPk()
 {
     Pk = await PokemonAPIDAL.LoadPokemon(SelectedPokemon.Url);
 }
Exemple #4
0
 public async void LoadPokemons()
 {
     Pokemons = await PokemonAPIDAL.LoadPokemons();
 }
Exemple #5
0
 public async void LoadCharacters()
 {
     Pokemons = await PokemonAPIDAL.LoadCharacters();
 }
Exemple #6
0
 public async void LoadPokemon(Pokemon pokemon)
 {
     selectedPokemon = await PokemonAPIDAL.LoadPokemon(pokemon);
 }
Exemple #7
0
 public async void LoadCharacters(string url)
 {
     Pokemon = await PokemonAPIDAL.LoadCharactersAsync(url);
 }
 public async void LoadPokemon(string url)
 {
     LoadedPokemon = await PokemonAPIDAL.LoadPokemonAsync(url);
 }