GsonLiveDataAdapter
添加String,Int,Long,Double,Long,Boolean 带有默认值的适配器
使用方式
implementation 'com.github.ooftf:gson-adapter-extensions:0.0.4'
GsonBuilder().deployLiveData().deployDefaultValue().create()
添加LiveData,Observable类型解析
添加String,Int,Long,Double,Long,Boolean 带有默认值的适配器
implementation 'com.github.ooftf:gson-adapter-extensions:0.0.4'
GsonBuilder().deployLiveData().deployDefaultValue().create()
添加LiveData,Observable类型解析