SAF-Kotlin-Utils
用 Kolin 做的 Android Utils 库,包括 utils 和 extension
模块 | saf-kotlin-utils | saf-kotlin-ext |
---|---|---|
最新版本 |
一. 下载安装
将它添加到项目的 root build.gradle 中:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Gradle:
implementation 'com.github.fengzhizi715.SAF-Kotlin-Utils:saf-kotlin-ext:v0.23'
implementation 'com.github.fengzhizi715.SAF-Kotlin-Utils:saf-kotlin-utils:v0.23'
二. 功能
2.1 工具库的类
AppUtils
FileUtils
NetUtils
Platform
ProcessUtils
RetryWithDelay
RxJavaUtils
SAFUtils
SDCardUtils
ShellUtils
ToastUtils
2.2 扩展库的扩展方法、扩展属性
Boolean
Bundle
Context
Throwable
Closeable
Object
SystemService
View
三. 本人其余的 Kotlin 开源库(Android)
- SAF-Kotlin-log: 完全基于Kotlin开发的Android日志框架,提供极简的API
- saf-logginginterceptor: OKHttp的日志的拦截器,方便Android程序员调试接口
- SAF-Object-Delegate: 基于 Kotlin 的委托机制实现对 Extra、SharedPreferences 的封装
- LiveDataExtension: LiveData 的扩展
- Lifecycle-Coroutines-Extension: AAC 的 Lifecycle 结合 Kotlin Coroutines 进行使用
联系方式
Wechat:fengzhizi715
Java与Android技术栈:每周更新推送原创技术文章,欢迎扫描下方的公众号二维码并关注,期待与您的共同成长和进步。
License
Copyright (C) 2017 - present, Tony Shen.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.