Skip to content

Commit

Permalink
ToastUtil适配Android 11
Browse files Browse the repository at this point in the history
  • Loading branch information
YeChao committed Jan 26, 2021
1 parent 3f7cc17 commit 699c5af
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Android快速开发工具集合——YUtils

[![](https://jitpack.io/v/yechaoa/YUtils.svg)](https://jitpack.io/#yechaoa/YUtils)
![](https://img.shields.io/badge/language-Java%20&%20kotlin-orange.svg)
![](https://img.shields.io/hexpm/l/plug.svg)

最近更新 2020.12.29
最近更新 2020.1.26

### How to use

Expand All @@ -22,13 +22,13 @@ allprojects {
```
dependencies {
//kotlin 版本
implementation 'com.github.yechaoa.YUtils:yutilskt:3.1.5'
implementation 'com.github.yechaoa.YUtils:yutilskt:3.1.6'
//java 版本
implementation 'com.github.yechaoa.YUtils:yutils:3.1.5'
implementation 'com.github.yechaoa.YUtils:yutils:3.1.6'
//kotlin && java 版本
implementation 'com.github.yechaoa:YUtils:3.1.5'
implementation 'com.github.yechaoa:YUtils:3.1.6'
}
```

Expand Down Expand Up @@ -226,6 +226,10 @@ like this

## 更新记录

#### 3.1.6(2021-01-26)
- targetSdkVersion 30
- ToastUtil适配Android 11

#### 3.1.5(2020-12-29)
- 初始化校验
- YUtils新增sim卡判断
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies {
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'

implementation "com.google.android.material:material:1.2.1"

Expand Down

0 comments on commit 699c5af

Please sign in to comment.