androidConsume an API, Web Service with Retrofit on Android
Tutorial to create a Pokédex app from scratch.
Tutorial to create a Pokédex app from scratch. The app uses Retrofit library to consume an API on Android. In addition to using Glide to download images.
What you'll learn
- Consume an API or Web Service with Retrofit
- Use a
RecyclerViewcomponent in grid mode
What you'll need
Google Chrome Extension (1:10)
URL to obtain the images of the pokemon by their number.
Update: The previous URL stopped working but you can get the image directly from the repository like this:
Pikachu is the pokemon number 25.
2:02: Dependency to use Retrofit in the module
compile is deprecated and there are new versions.
Release numbers, more information and Retrofit documentation:
The master branch was updated with the migration of AndroidX and the update of gradle tools. If you want to see exactly the same version of the video, it is in the video branch.