Skip to content

Commit

Permalink
feat: Integrates the new LocalPokeApi and completely removes the usag…
Browse files Browse the repository at this point in the history
…e of the slow and unwieldy PokeApi.
  • Loading branch information
do-adams committed Sep 11, 2016
1 parent 37492cd commit d558020
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 291 deletions.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ dependencies {
compile 'com.google.firebase:firebase-core:9.4.0'
compile 'com.google.firebase:firebase-messaging:9.4.0'
compile project(':localpokeapi')
compile 'com.google.code.gson:gson:2.7'
}

// Plugin used for bg Firebase app notifications.
Expand Down
255 changes: 0 additions & 255 deletions app/src/main/java/com/mianlabs/pokeluv/model/PokeModel.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import android.util.Log;
import android.view.Menu;

import com.mianlabs.localpokeapi.LocalPokeApi;
import com.mianlabs.pokeluv.R;
import com.mianlabs.pokeluv.database.PokeCursorManager;
import com.mianlabs.pokeluv.database.PokeDBContract;
Expand Down Expand Up @@ -55,7 +54,6 @@ protected void onCreate(Bundle savedInstanceState) {
setContentView(R.layout.activity_main);

mCaughtPokemon = PokePicker.catchRandomPokemon();
Log.v(TAG, LocalPokeApi.getPokemonData(mCaughtPokemon).toString());

Intent intent = getIntent();
Bundle bundle = new Bundle();
Expand Down
Loading

0 comments on commit d558020

Please sign in to comment.