Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

retrofit gradle

Retrofit retrofit = new Retrofit.Builder()
    .baseUrl("https://api.github.com/")
    .addConverterFactory(GsonConverterFactory.create())
    .build();

GitHubService service = retrofit.create(GitHubService.class);
Source by square.github.io #
 
PREVIOUS NEXT
Tagged: #retrofit #gradle
ADD COMMENT
Topic
Name
3+6 =