内容简介:Retrofit 2.3.0 发布,Android 的 REST 客户端
Retrofit 2.3.0 发布了,Retrofit 是一个类型安全的 REST 客户端,用于 Android 平台。
更新内容:
-
Retrofit now uses
@Nullableto annotate all possibly-null values. We've added a compile-time dependency on the JSR 305 annotations. This is a provided dependency and does not need to be included in your build configuration,.jarfile, or.apk. We use@ParametersAreNonnullByDefaultand all parameters and return types are never null unless explicitly annotated@Nullable.Warning: this release is source-incompatible for Kotlin users.Nullability was previously ambiguous and lenient but now the compiler will enforce strict null checks.
-
New: Converters added for Java 8's and Guava's
Optionalwhich wrap a potentially-nullable response body. These converters still rely on normal serialization library converters for parsing the response bytes into an object. -
New: String converters that return
nullfor an@Queryor@Fieldparameter are now skipped. -
New: The mock module's
NetworkBehaviornow throws a custom subclass ofIOExceptionto more clearly indicate the exception's source. -
RxJava 1.x converter updated to 1.3.0 which stabilizes the use of
Completable. -
Fix: Add explicit handling for
OnCompleteFailedException,OnErrorFailedException, andOnErrorNotImplementedExceptionfor RxJava 1.x to ensure they're correct delivered to the plugins/hooks for handling. -
Fix:
NoSuchElementExceptionthrown when unsubscribing from an RxJava 1.xSingle.
下载地址:
以上所述就是小编给大家介绍的《Retrofit 2.3.0 发布,Android 的 REST 客户端》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
VISUAL FOXPRO程序设计实用教程习题解答与实验指导
康萍 / 中国经济出版社 / 2006-6 / 22.80元
本书为康萍等主编的《VisUal FosxPro程序设计实用教程》的配套习题解答与实验指导教材,由常年工作在计算机教学第一线的教师组织编写。全书共分为三部分:第1部分为实验指导,包括33个实验,分别讲述了每个实验的实验目的.实验内容和操作步骤;第2部分为开发实例,介绍了图书营理系统的分析、设计与实现过程;第3部分为配套教材各章节习题参考答案。 本书实验部分可操作性及实用性较强。系统开发案......一起来看看 《VISUAL FOXPRO程序设计实用教程习题解答与实验指导》 这本书的介绍吧!