- 博客(2)
- 收藏
- 关注
原创 Kotlin+Databind对Adapter的封装
准备正式使用Kotlin做为项目的开发语言。对以前的封装类进行转换abstract class CommonAdapter<T : ViewDataBinding, E : Any> : BaseAdapter { protected var binding: T? = null protected var context: Context? = null ...
2019-05-14 10:34:43 392
原创 Kotlin okhttp 简单封装
第一次写博客,感觉还是有点的小激动。 主要对自己开始学习Kotlin的过程做个记录,毕竟好记性不如烂笔头。虽然我一直都没有做到,这可能是个开始。 依赖的添加: implementation 'com.squareup.okhttp3:okhttp:3.1.2' implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.60...
2018-08-07 12:55:10 3666
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人