Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
mmm-rain
AndroidUtilCode
提交
240020b6
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,体验更适合开发者的 AI 搜索 >>
提交
240020b6
编写于
11月 29, 2019
作者:
B
Blankj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
see 11/29 log
上级
15a4eaad
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
5 addition
and
8 deletion
+5
-8
buildSrc/src/main/groovy/Config.groovy
buildSrc/src/main/groovy/Config.groovy
+1
-1
config.json
config.json
+1
-1
lib/subutil/src/test/java/com/blankj/subutil/util/BaseTest.java
...butil/src/test/java/com/blankj/subutil/util/BaseTest.java
+1
-1
lib/utilcode/README-CN.md
lib/utilcode/README-CN.md
+1
-1
lib/utilcode/README.md
lib/utilcode/README.md
+1
-0
lib/utilcode/src/main/java/com/blankj/utilcode/util/KeyboardUtils.java
...src/main/java/com/blankj/utilcode/util/KeyboardUtils.java
+0
-4
未找到文件。
buildSrc/src/main/groovy/Config.groovy
浏览文件 @
240020b6
...
...
@@ -40,7 +40,7 @@ class Config {
lib_base
:
new
DepConfig
(
true
,
true
,
":lib:base"
),
lib_common
:
new
DepConfig
(
true
,
true
,
":lib:common"
),
lib_subutil
:
new
DepConfig
(
true
,
true
,
":lib:subutil"
),
lib_utilcode
:
new
DepConfig
(
true
,
true
,
":lib:utilcode"
,
"com.blankj:utilcode:1.2
5.10-alpha5
"
),
lib_utilcode
:
new
DepConfig
(
true
,
true
,
":lib:utilcode"
,
"com.blankj:utilcode:1.2
6.0
"
),
lib_utildebug
:
new
DepConfig
(
true
,
true
,
":lib:utildebug"
,
"com.blankj:utildebug:1.25.10-alpha5"
),
lib_utildebug_no_op
:
new
DepConfig
(
true
,
true
,
":lib:utildebug-no-op"
,
"com.blankj:utildebug-no-op:1.25.10-alpha5"
),
/*Never delete this line*/
...
...
config.json
浏览文件 @
240020b6
...
...
@@ -20,7 +20,7 @@
{
"isApply"
:
true
,
"useLocal"
:
true
,
"localPath"
:
":lib:base"
},
{
"isApply"
:
true
,
"useLocal"
:
true
,
"localPath"
:
":lib:common"
},
{
"isApply"
:
true
,
"useLocal"
:
true
,
"localPath"
:
":lib:subutil"
},
{
"isApply"
:
true
,
"useLocal"
:
true
,
"localPath"
:
":lib:utilcode"
,
"remotePath"
:
"com.blankj:utilcode:1.2
5.10-alpha5
"
},
{
"isApply"
:
true
,
"useLocal"
:
true
,
"localPath"
:
":lib:utilcode"
,
"remotePath"
:
"com.blankj:utilcode:1.2
6.0
"
},
{
"isApply"
:
true
,
"useLocal"
:
true
,
"localPath"
:
":lib:utildebug"
,
"remotePath"
:
"com.blankj:utildebug:1.25.10-alpha5"
},
{
"isApply"
:
true
,
"useLocal"
:
true
,
"localPath"
:
":lib:utildebug-no-op"
,
"remotePath"
:
"com.blankj:utildebug-no-op:1.25.10-alpha5"
}
]
...
...
lib/subutil/src/test/java/com/blankj/subutil/util/BaseTest.java
浏览文件 @
240020b6
...
...
@@ -30,6 +30,6 @@ public class BaseTest {
@Test
public
void
test
()
throws
Exception
{
System
.
out
.
println
(
"1234"
);
}
}
lib/utilcode/README-CN.md
浏览文件 @
240020b6
...
...
@@ -667,7 +667,7 @@ registerNetworkStatusChangedListener : 注册网络状态改变监听器
unregisterNetworkStatusChangedListener: 注销网络状态改变监听器
```
*
###
对象
相关 ->
[
NotificationUtils.java
][
notification.java
]
->
[
Demo
][
notification.demo
]
*
###
通知
相关 ->
[
NotificationUtils.java
][
notification.java
]
->
[
Demo
][
notification.demo
]
```
areNotificationsEnabled : 判断通知是否可用
notify : 发送通知
...
...
lib/utilcode/README.md
浏览文件 @
240020b6
...
...
@@ -126,6 +126,7 @@ addMarginTopEqualStatusBarHeight
subtractMarginTopEqualStatusBarHeight
setStatusBarColor
setStatusBarColor4Drawer
transparentStatusBar
getActionBarHeight
setNotificationBarVisibility
getNavBarHeight
...
...
lib/utilcode/src/main/java/com/blankj/utilcode/util/KeyboardUtils.java
浏览文件 @
240020b6
...
...
@@ -195,10 +195,6 @@ public final class KeyboardUtils {
* @param window The window.
*/
public
static
void
unregisterSoftInputChangedListener
(
@NonNull
final
Window
window
)
{
final
int
flags
=
window
.
getAttributes
().
flags
;
if
((
flags
&
WindowManager
.
LayoutParams
.
FLAG_LAYOUT_NO_LIMITS
)
!=
0
)
{
window
.
clearFlags
(
WindowManager
.
LayoutParams
.
FLAG_LAYOUT_NO_LIMITS
);
}
final
FrameLayout
contentView
=
window
.
findViewById
(
android
.
R
.
id
.
content
);
Object
tag
=
contentView
.
getTag
(
TAG_ON_GLOBAL_LAYOUT_LISTENER
);
if
(
tag
instanceof
OnGlobalLayoutListener
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录