easy
easy copied to clipboard
在代码中累计的一些工具扩展类,方便在项目中快速使用
easy 
此库主要是收集工作中用到的扩展方法。使用此库可以大大节约开发时间,文档和说明目前正在完善中...
目前已经包含有:
包含的模块 | 说明 |
---|---|
协程扩展 | coroutine |
ktx 扩展 | ktx |
helper帮助类 | helper |
用法
在根build.gradle
中添加:
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
在使用的模块build.gradle
中添加:
dependencies {
// 协程扩展
implementation 'com.github.jxiaow.easy:coroutine:x.y.z'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.1'
// helper帮助类
implementation 'com.github.jxiaow.easy:helper:x.y.z'
// 常用扩展工具类
implementation 'com.github.jxiaow.easy:ktx:x.y.z'
}
(请替换 x. y .z 为最新的版本号: )
注意
如果您的项目不支持AndroidX
,请使用 2.0.0版本。