AndroidArchitecture icon indicating copy to clipboard operation
AndroidArchitecture copied to clipboard

[QUESTION] Debugging Api response

Open fgagneten opened this issue 8 years ago • 1 comments
trafficstars

Thanks for this repo, but I'm migrating from asynctask to this project and sincerely, is like start from 0.

My question is: How can I debug the Api response?

In my last project I can stop in the moment when the Api response, so I could see the header of the response if it was a 200 response or 404. Then I could see the json of the Api response, etc...

Using this repo I can't see anything of this, for example, I changed the url repo and also I changed the model, and I don't know if the data received is ok and if the model is filled with the response.

Anybody can help me solving my problem?

Thanks!

fgagneten avatar Jul 31 '17 23:07 fgagneten

In this example, you would look at LiveDataCallAdapter and then ApiResponse classes.

RJ-Clegg avatar Aug 03 '17 11:08 RJ-Clegg