Created
March 7, 2018 14:02
-
-
Save TranBaVinhSon/96ab9679630e85a939e3128fa219fce3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.sontbv.retrofittutorial.webservice; | |
import com.example.sontbv.retrofittutorial.model.Movie; | |
import java.util.List; | |
import retrofit2.Call; | |
import retrofit2.http.GET; | |
/** | |
* Created by sontbv on 3/7/18. | |
*/ | |
public interface ApiInterface { | |
@GET("films") | |
Call<List<Movie>> getMovies(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment