Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fengzhizi715/saf-kotlin-utils

用 Kolin 做的 Android Utils 库,包括 utils 和 extension
https://github.com/fengzhizi715/saf-kotlin-utils

android-library android-utils androidx-library kotlin-extensions kotlin-library rxjava2

Last synced: about 2 months ago
JSON representation

用 Kolin 做的 Android Utils 库,包括 utils 和 extension

Awesome Lists containing this project

README

        

# SAF-Kotlin-Utils

[![@Tony沈哲 on weibo](https://img.shields.io/badge/weibo-%40Tony%E6%B2%88%E5%93%B2-blue.svg)](http://www.weibo.com/fengzhizi715)
[![License](https://img.shields.io/badge/license-Apache%202-lightgrey.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![](https://jitpack.io/v/fengzhizi715/SAF-Kotlin-Utils.svg)](https://jitpack.io/#fengzhizi715/SAF-Kotlin-Utils)

用 Kolin 做的 Android Utils 库,包括 utils 和 extension

模块|saf-kotlin-utils|saf-kotlin-ext
---|:-------------:|:-------------:
最新版本|[![](https://jitpack.io/v/fengzhizi715/SAF-Kotlin-Utils.svg)](https://jitpack.io/#fengzhizi715/SAF-Kotlin-Utils)|[![](https://jitpack.io/v/fengzhizi715/SAF-Kotlin-Utils.svg)](https://jitpack.io/#fengzhizi715/SAF-Kotlin-Utils)|

# 一. 下载安装

将它添加到项目的 root build.gradle 中:

```groovy
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```

Gradle:

```groovy
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](https://github.com/fengzhizi715/SAF-Kotlin-log): 完全基于Kotlin开发的Android日志框架,提供极简的API
* [saf-logginginterceptor](https://github.com/fengzhizi715/saf-logginginterceptor): OKHttp的日志的拦截器,方便Android程序员调试接口
* [SAF-Object-Delegate](https://github.com/fengzhizi715/SAF-Object-Delegate): 基于 Kotlin 的委托机制实现对 Extra、SharedPreferences 的封装
* [LiveDataExtension](https://github.com/fengzhizi715/LiveDataExtension): LiveData 的扩展
* [Lifecycle-Coroutines-Extension](https://github.com/fengzhizi715/Lifecycle-Coroutines-Extension): AAC 的 Lifecycle 结合 Kotlin Coroutines 进行使用

联系方式
===

Wechat:fengzhizi715

> Java与Android技术栈:每周更新推送原创技术文章,欢迎扫描下方的公众号二维码并关注,期待与您的共同成长和进步。

![](https://github.com/fengzhizi715/NetDiscovery/blob/master/images/gzh.jpeg)

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.