Esempio n. 1
0
        public async void LoadPokemons()
        {
            Pokemons = await PokemonAPIDAL.LoadPokemons();

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