Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xiaoxuan_i809
AndroidUtilCode
提交
3bc96042
A
AndroidUtilCode
项目概览
xiaoxuan_i809
/
AndroidUtilCode
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
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,体验更适合开发者的 AI 搜索 >>
提交
3bc96042
编写于
6月 19, 2019
作者:
B
Blankj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
see 06/19 log
上级
7060007c
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
10 addition
and
8 deletion
+10
-8
CHANGELOG.md
CHANGELOG.md
+2
-0
README-CN.md
README-CN.md
+1
-1
README.md
README.md
+1
-1
utilcode/README-CN.md
utilcode/README-CN.md
+2
-2
utilcode/README-STATIC-BUS.md
utilcode/README-STATIC-BUS.md
+1
-1
utilcode/README.md
utilcode/README.md
+2
-2
utilcode/lib/src/main/java/com/blankj/utilcode/util/UriUtils.java
.../lib/src/main/java/com/blankj/utilcode/util/UriUtils.java
+1
-1
未找到文件。
CHANGELOG.md
浏览文件 @
3bc96042
*
`19/06/19`
[fix] UriUtils. Publish v1.24.3.
*
`19/06/18`
[add] ClickUtils, ViewUtils.
*
`19/06/07`
[fix] LogUtils file name contains ':'. Publish v1.24.2.
*
`19/06/06`
[fix] LogUtils write to file. Publish v1.24.1.
*
`19/06/03`
[fix] Refactoring framework. Publish v1.24.0.
...
...
README-CN.md
浏览文件 @
3bc96042
...
...
@@ -41,7 +41,7 @@
[
logo
]:
https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/logo.png
[
aucSvg
]:
https://img.shields.io/badge/AndroidUtilCode-v1.24.
2
-brightgreen.svg
[
aucSvg
]:
https://img.shields.io/badge/AndroidUtilCode-v1.24.
3
-brightgreen.svg
[
auc
]:
https://github.com/Blankj/AndroidUtilCode
[
apiSvg
]:
https://img.shields.io/badge/API-14+-brightgreen.svg
...
...
README.md
浏览文件 @
3bc96042
...
...
@@ -41,7 +41,7 @@ If this project helps you a lot and you want to support the project's developmen
[
logo
]:
https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/logo.png
[
aucSvg
]:
https://img.shields.io/badge/AndroidUtilCode-v1.24.
2
-brightgreen.svg
[
aucSvg
]:
https://img.shields.io/badge/AndroidUtilCode-v1.24.
3
-brightgreen.svg
[
auc
]:
https://github.com/Blankj/AndroidUtilCode
[
apiSvg
]:
https://img.shields.io/badge/API-14+-brightgreen.svg
...
...
utilcode/README-CN.md
浏览文件 @
3bc96042
...
...
@@ -2,10 +2,10 @@
Gradle:
```
groovy
implementation
'com.blankj:utilcode:1.24.
2
'
implementation
'com.blankj:utilcode:1.24.
3
'
// if u use AndroidX, use the following
implementation
'com.blankj:utilcodex:1.24.
2
'
implementation
'com.blankj:utilcodex:1.24.
3
'
```
...
...
utilcode/README-STATIC-BUS.md
浏览文件 @
3bc96042
...
...
@@ -27,7 +27,7 @@ apply plugin: "com.blankj.bus"
给 base 模块添加
[
AndroidUtilCode
](
https://github.com/Blankj/AndroidUtilCode
)
依赖:
```
groovy
api
"com.blankj:utilcode:1.24.
2
"
api
"com.blankj:utilcode:1.24.
3
"
```
比如 module0 中存在的
`Module0Activity.java`
,我们通常都是在它内部写一个
`start`
函数来启动它,现在我们给它添加
`@BusUtils.Subscribe`
注解,并给注解的
`name`
赋唯一值,要注意,函数务必要
`public static`
哦:
...
...
utilcode/README.md
浏览文件 @
3bc96042
...
...
@@ -2,10 +2,10 @@
Gradle:
```
groovy
implementation
'com.blankj:utilcode:1.24.
2
'
implementation
'com.blankj:utilcode:1.24.
3
'
// if u use AndroidX, use the following
implementation
'com.blankj:utilcodex:1.24.
2
'
implementation
'com.blankj:utilcodex:1.24.
3
'
```
...
...
utilcode/lib/src/main/java/com/blankj/utilcode/util/UriUtils.java
浏览文件 @
3bc96042
...
...
@@ -56,7 +56,7 @@ public final class UriUtils {
String
scheme
=
uri
.
getScheme
();
String
path
=
uri
.
getPath
();
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
N
&&
path
!=
null
&&
path
.
startsWith
(
"/external"
))
{
&&
path
!=
null
&&
path
.
startsWith
(
"/external
/
"
))
{
return
new
File
(
Environment
.
getExternalStorageDirectory
().
getAbsolutePath
()
+
path
.
replace
(
"/external"
,
""
));
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录