Skip to content

Instantly share code, notes, and snippets.

@Adam-Fresko
Created January 8, 2016 13:22
Show Gist options
  • Save Adam-Fresko/630e20f51cfba88f98a9 to your computer and use it in GitHub Desktop.
Save Adam-Fresko/630e20f51cfba88f98a9 to your computer and use it in GitHub Desktop.
// link https://api.online.kreckm.pl/v4/users/93632/thumb:300x300 > chce odczytac ten error
RetrofitServiceProfile client = Retro.getServiceProfile();
// Fetch and print a list of the contributors to this library.
Call<ResponseProfile> call = client.getProfile(93632);
log(" call.execute(): " + call.execute().raw());
public class ResponseProfile implements Serializable {
Profile responseData;
Object result;
boolean success;
public Profile getResponseData() {
return responseData;
}
public Object getResult() {
return result;
}
public boolean isSuccess() {
return success;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment