Invoking cancel() will cancel in-flight requests or prevent the request from even being performed Request/response pair so it can only be used once, but you can clone() it for re-use. This allows them to be executed synchronously or asynchronously using the same method definition. For an explanation of this strategy, see Jake Wharton's post, Java Interoperability Policy for Major Version This should make it possible for large applications and libraries to migrate The API changes are numerous but solve shortcomings of the previous version and provide a path for future enhancement.īecause the release includes breaking API changes, we're changing the project's package name from retrofit to retrofit2. Retrofit 2 is a major release focused on extensibility.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |