Last active
August 19, 2018 15:41
-
-
Save ibrahimsn98/f0e3556897adf8861316a0f11e019b65 to your computer and use it in GitHub Desktop.
android-mvvm-with-dagger-2
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
public interface RepoService { | |
@GET("orgs/Google/repos") | |
Single<List<Repo>> getRepositories(); | |
@GET("repos/{owner}/{name}") | |
Single<Repo> getRepo(@Path("owner") String owner, @Path("name") String name); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment