Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Call<MyResponse> call = client.resource();
- call.enqueue(new Callback<MyResponse>() {
- @Override
- public void onResponse(Call<MyResponse> c, Response<MyResponse> response) {
- // This gets called in a few milliseconds
- }
- @Override
- public void onFailure(Call<MydResponse> c, Throwable t) {
- }
- });
Add Comment
Please, Sign In to add comment