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

            if (Pokemons.Count > 0)
            {
                SelectedPokemon = Pokemons[0];
            }
        }
Exemplo n.º 2
0
 public async void LoadSinglePokemon()
 {
     Pokemon = await PokemonAPIDAL.LoadPokemon(SelectedPokemon.Url);
 }
Exemplo n.º 3
0
 public async void LoadPk()
 {
     Pk = await PokemonAPIDAL.LoadPokemon(SelectedPokemon.Url);
 }
Exemplo n.º 4
0
 public async void LoadPokemons()
 {
     Pokemons = await PokemonAPIDAL.LoadPokemons();
 }
Exemplo n.º 5
0
 public async void LoadCharacters()
 {
     Pokemons = await PokemonAPIDAL.LoadCharacters();
 }
Exemplo n.º 6
0
 public async void LoadPokemon(Pokemon pokemon)
 {
     selectedPokemon = await PokemonAPIDAL.LoadPokemon(pokemon);
 }
Exemplo 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);
 }