Skip to content

Instantly share code, notes, and snippets.

package com.lctics.retrofit2;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.Button;
import android.widget.TextView;
import com.lctics.retrofit2.dataPokemon.model.PokemonFeed;
import com.lctics.retrofit2.dataPokemon.remote.PokemonAPI;
package com.lctics.retrofit2.dataPokemon.remote;
import com.lctics.retrofit2.dataPokemon.model.PokemonFeed;
import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
import retrofit2.http.GET;
public interface PokemonAPI {
String BASE_URL = "http://pokeapi.co/api/v1/";