Kotlin项目
动态切换模块是library还是application。设置gradle.properties中isUserModule。
使用 apply plugin: 'kotlin-android-extensions'
。
https://github.com/Kotlin/anko
工具库
Intents、Dialogs and toasts 、Logging、Resources and dimensions、Anko Layouts、Anko SQLite (wiki)
https://github.com/ReactiveX/RxKotlin
https://github.com/ReactiveX/RxAndroid
https://github.com/square/retrofit
https://github.com/google/dagger
Inject、Component、Module、Provides、Scope、Singleton、Qualifier、Named
解决Rx内存泄漏
https://github.com/trello/RxLifecycle
AppManager:Activity管理器
HeaderBar:通用标题头部
ProgressLoading:加载过程动画视图
VerifyButton:获取验证码按钮,带倒计时
BaseRecyclerViewAdapter:RecyclerViewAdapter基类
AppPrefsUtils:sp存储
DateUtils:时间日期工具类
GlideUtils:Glide工具类
NetWorkUtils:检查网络工具
//标题titleText不为空,设置值,并作为参数传进{}
titleText?.let {
mTitleTv.text = it
}