-
Notifications
You must be signed in to change notification settings - Fork 68
Home
DylanCai edited this page Oct 29, 2021
·
2 revisions
Longan 是一个简化 Android 开发的 Kotlin 工具类集合,可以使代码更加简洁易读。
在根目录的 build.gradle 添加:
allprojects {
repositories {
// ...
maven { url 'https://www.jitpack.io' }
}
}
添加依赖:
dependencies {
implementation 'com.github.DylanCaiCoding.Longan:longan:1.0.0'
// Optional
implementation 'com.github.DylanCaiCoding.Longan:longan-design:1.0.0'
}
为了更好地完善本库,我希望能听到更多的声音。有任何使用上的问题或者想要的功能都可以加我微信直接反馈,微信号同 GitHub 名: DylanCaiCoding
,我会拉个群。加好友时备注个 GitHub,个人不乱加陌生人。
库 | 简介 |
---|---|
LoadingStateView | 深度解耦标题栏或加载中、加载失败、无数据等视图 |
ViewBindingKTX | 最全面的 ViewBinding 工具 |
MMKV-KTX | 让 MMKV 更加易用 |
ActivityResultLauncher | 优雅地替代 startActivityForResult()
|