Guest User

Untitled

a guest
Jan 17th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. Call<MyResponse> call = client.resource();
  2. call.enqueue(new Callback<MyResponse>() {
  3. @Override
  4. public void onResponse(Call<MyResponse> c, Response<MyResponse> response) {
  5. // This gets called in a few milliseconds
  6. }
  7.  
  8. @Override
  9. public void onFailure(Call<MydResponse> c, Throwable t) {
  10. }
  11. });
Add Comment
Please, Sign In to add comment