Created
February 7, 2018 04:51
-
-
Save rhari991/67afd7d850e58e806b39386aa13b0f16 to your computer and use it in GitHub Desktop.
An example of calling a Retrofit interface
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
NewPasteParameters parameters = new NewPasteParameters.Builder("Random Text") | |
.title("Random title") | |
.visibility(Visibility.PUBLIC) | |
.build(); | |
Call<ReturnType> call = apiService.createNewPaste(parameters); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment