http status code 401 - Android koush ion library catch 401 error -
I'm using Android to handle pure operation. I want to add a common handler to handle 401 unauthorized errors. I am How can I do this?
Thanks
ion. (This) .load ("http://google.com") .asString () .withResponse () .setCallback (new futures callback & lt; response & lt; string & gt; & gt; () {@Override public Ending at zero (exception e, feedback results) {if (result.getHeaders (). Code ()) {// ............}}}); Good look!
Comments
Post a Comment