Releases: Commit451/EasyCallback
2.1.0
This release adds the executor()
method so that you can specify what executor you want the callback to call back on. This also removes the callbackOnMainThread()
method from EasyOkHttpCallback since we should be more specific and explicit about allowing access to modifying the callback thread.
This would potentially allow you to do something like have a call execute asynchronously, then make additional calls in the callback synchronously, then finally passing the result to the main thread
2.0.0
Previously in HttpException, getting the message would read it from the ResponseBody without closing it. There was also no access provide to the OkHttp Response
. This update is mostly to provide more access to the response when needed in the callback. Since it would break compatibility, naming conventions have also been changed to match Retrofit/OkHttp