Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
mmm-rain
AndroidUtilCode
提交
3ff7852c
A
AndroidUtilCode
项目概览
mmm-rain
/
AndroidUtilCode
与 Fork 源项目一致
从无法访问的项目Fork
通知
4
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
AndroidUtilCode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3ff7852c
编写于
4月 01, 2020
作者:
B
Blankj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
see 04/01 log
上级
820ad842
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
9 addition
and
10 deletion
+9
-10
.github/workflows/android.yml
.github/workflows/android.yml
+1
-1
README-CN.md
README-CN.md
+1
-1
README.md
README.md
+1
-1
buildSrc/src/main/groovy/Config.groovy
buildSrc/src/main/groovy/Config.groovy
+1
-1
lib/utilcode/README-CN.md
lib/utilcode/README-CN.md
+2
-2
lib/utilcode/README.md
lib/utilcode/README.md
+2
-2
lib/utilcode/build.gradle
lib/utilcode/build.gradle
+1
-1
lib/utilcode/src/main/java/com/blankj/utilcode/util/NetworkUtils.java
.../src/main/java/com/blankj/utilcode/util/NetworkUtils.java
+0
-1
未找到文件。
.github/workflows/android.yml
浏览文件 @
3ff7852c
...
...
@@ -8,7 +8,7 @@ jobs:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v
1
-
uses
:
actions/checkout@v
2
-
name
:
set up JDK
1.8
uses
:
actions/setup-java@v1
with
:
...
...
README-CN.md
浏览文件 @
3ff7852c
...
...
@@ -51,7 +51,7 @@
[
frame
]:
https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/auc_frame_cn.png
[
aucSvg
]:
https://
img.shields.io/badge/AndroidUtilCode-v1.26.0-brightgreen.svg
[
aucSvg
]:
https://
github.com/Blankj/AndroidUtilCode/workflows/Android%20CI/badge.svg?branch=master
[
auc
]:
https://github.com/Blankj/AndroidUtilCode
[
apiSvg
]:
https://img.shields.io/badge/API-14+-brightgreen.svg
...
...
README.md
浏览文件 @
3ff7852c
...
...
@@ -51,7 +51,7 @@ If this project helps you a lot and you want to support the project's developmen
[
frame
]:
https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/auc_frame.png
[
aucSvg
]:
https://
img.shields.io/badge/AndroidUtilCode-v1.27.0-brightgreen.svg
[
aucSvg
]:
https://
github.com/Blankj/AndroidUtilCode/workflows/Android%20CI/badge.svg?branch=master
[
auc
]:
https://github.com/Blankj/AndroidUtilCode
[
apiSvg
]:
https://img.shields.io/badge/API-14+-brightgreen.svg
...
...
buildSrc/src/main/groovy/Config.groovy
浏览文件 @
3ff7852c
...
...
@@ -71,7 +71,7 @@ class Config {
free_proguard
:
new
DepConfig
(
"com.blankj:free-proguard:1.0.2"
),
swipe_panel
:
new
DepConfig
(
"com.blankj:swipe-panel:1.2"
),
gson
:
new
DepConfig
(
"com.google.code.gson:gson:2.8.
6
"
),
gson
:
new
DepConfig
(
"com.google.code.gson:gson:2.8.
5
"
),
glide
:
new
DepConfig
(
"com.github.bumptech.glide:glide:4.7.1"
),
retrofit
:
new
DepConfig
(
"com.squareup.retrofit2:retrofit:2.4.0"
),
commons_io
:
new
DepConfig
(
"commons-io:commons-io:2.6"
),
...
...
lib/utilcode/README-CN.md
浏览文件 @
3ff7852c
...
...
@@ -2,10 +2,10 @@
Gradle:
```
groovy
implementation
'com.blankj:utilcode:1.2
6
.0'
implementation
'com.blankj:utilcode:1.2
7
.0'
// if u use AndroidX, use the following
implementation
'com.blankj:utilcodex:1.2
6
.0'
implementation
'com.blankj:utilcodex:1.2
7
.0'
```
...
...
lib/utilcode/README.md
浏览文件 @
3ff7852c
...
...
@@ -2,10 +2,10 @@
Gradle:
```
groovy
implementation
'com.blankj:utilcode:1.2
6
.0'
implementation
'com.blankj:utilcode:1.2
7
.0'
// if u use AndroidX, use the following
implementation
'com.blankj:utilcodex:1.2
6
.0'
implementation
'com.blankj:utilcodex:1.2
7
.0'
```
...
...
lib/utilcode/build.gradle
浏览文件 @
3ff7852c
...
...
@@ -27,7 +27,7 @@ android {
}
dependencies
{
compileOnly
Config
.
depConfig
.
gson
.
dep
implementation
Config
.
depConfig
.
gson
.
dep
compileOnly
Config
.
depConfig
.
support_appcompat_v7
.
dep
compileOnly
Config
.
depConfig
.
support_design
.
dep
...
...
lib/utilcode/src/main/java/com/blankj/utilcode/util/NetworkUtils.java
浏览文件 @
3ff7852c
...
...
@@ -743,7 +743,6 @@ public final class NetworkUtils {
public
void
run
()
{
NetworkType
networkType
=
NetworkUtils
.
getNetworkType
();
if
(
mType
==
networkType
)
return
;
LogUtils
.
e
(
networkType
);
mType
=
networkType
;
if
(
networkType
==
NetworkType
.
NETWORK_NO
)
{
for
(
OnNetworkStatusChangedListener
listener
:
mListeners
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录