-
Notifications
You must be signed in to change notification settings - Fork 25
Spotify Clone App: Lesson 1
Mert Şimşek edited this page Nov 11, 2019
·
6 revisions
In this lecture, we will
- Learn how to use Retrofit.
- Fetching data using REST API.
I created a sample JSON to fetch data from. Check out Lesson 0 if you are not completed it yet. We have 2 lists on the Radios Fragment page.
- Popular Radios
- Location-Based Radios
Here are the REST API endpoints for these services.
- Popular Radios -> https://radiofm-4b467.firebaseio.com/popularRadios.json
- Location-Based Radios -> https://radiofm-4b467.firebaseio.com/locationRadios.json
implementation 'com.squareup.retrofit2:retrofit:2.6.1'
implementation 'com.squareup.retrofit2:converter-gson:2.6.1'