Skip to content

Commit

Permalink
更新README;
Browse files Browse the repository at this point in the history
  • Loading branch information
D10NGYANG committed Apr 7, 2022
1 parent 91bb299 commit bdf0166
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ allprojects {

```kotlin
dependencies {
implementation 'com.github.D10NGYANG:NetStatusManager:1.5'
implementation 'com.github.D10NGYANG:NetStatusManager:1.6-RC01'
}
```

## 使用代码

> 注意:版本1.6-RC01以后由于支持2G~5G的移动网络判断,需要先获取 Manifest.permission.READ_PHONE_STATE 权限;
### LiveData监听

推荐在Kotlin项目中使用这种方法。
Expand Down

0 comments on commit bdf0166

Please sign in to comment.