Skip to content

Spotify Clone App: Lesson 1

Mert Şimşek edited this page Oct 9, 2019 · 6 revisions

Overview

In this lecture, we will

  • Learn how to use Retrofit.
  • Fetching data using REST API.

Required 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.

Dependencies

implementation 'com.squareup.retrofit2:retrofit:2.6.1'
implementation 'com.squareup.retrofit2:converter-gson:2.6.1'

Source Code

Branch Lesson 1

Lesson Video

  • Will be available on youtube soon.

Clone this wiki locally