Skip to content

Commit 2ee43f1

Browse files
authored
Merge pull request #812 from Blankj/1.23.1
1.23.1
2 parents cb6283c + 33339d3 commit 2ee43f1

File tree

158 files changed

+3053
-4383
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+3053
-4383
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* `19/01/23` [add] Modify the demo of utilcode use kotlin. Publish v1.23.1.
2+
* `19/01/22` [fix] AppUtils#installApp.
13
* `19/01/17` [fix] Publish v1.23.0.
24
* `19/01/16` [fix] BarUtils get Activity from view and delete the function of set status bar alpha.
35
* `19/01/15` [add] ColorUtils.

README-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
[logo]: https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/logo.png
4343

44-
[aucSvg]: https://img.shields.io/badge/AndroidUtilCode-v1.23.0-brightgreen.svg
44+
[aucSvg]: https://img.shields.io/badge/AndroidUtilCode-v1.23.1-brightgreen.svg
4545
[auc]: https://github.com/Blankj/AndroidUtilCode
4646

4747
[apiSvg]: https://img.shields.io/badge/API-14+-brightgreen.svg

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ If this project helps you a lot and you want to support the project's developmen
4141

4242
[logo]: https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/logo.png
4343

44-
[aucSvg]: https://img.shields.io/badge/AndroidUtilCode-v1.23.0-brightgreen.svg
44+
[aucSvg]: https://img.shields.io/badge/AndroidUtilCode-v1.23.1-brightgreen.svg
4545
[auc]: https://github.com/Blankj/AndroidUtilCode
4646

4747
[apiSvg]: https://img.shields.io/badge/API-14+-brightgreen.svg

config.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ ext {
55
compileSdkVersion = 27
66
minSdkVersion = 14
77
targetSdkVersion = 27
8-
versionCode = 1_023_000
9-
versionName = '1.23.0'// E.g. 1.9.72 => 1,009,072
8+
versionCode = 1_023_001
9+
versionName = '1.23.1'// E.g. 1.9.72 => 1,009,072
1010

1111
bus = [
1212
isDebug: false,

launcher/app/__bus__.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"SubUtilActivity#start": "void com.blankj.subutil.pkg.feature.SubUtilActivity.start(android.content.Context)",
3-
"CoreUtilActivity#start": "void com.blankj.utilcode.pkg.feature.CoreUtilActivity.start(android.content.Context)"
3+
"CoreUtilActivity#start": "void com.blankj.utilcode.pkg.feature.CoreUtilActivity.Companion.start(android.content.Context)"
44
}

lib/base/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ dependencies {
1515
api dep.free_proguard
1616
api 'com.r0adkll:slidableactivity:2.0.5'
1717
compileOnly dep.leakcanary.android_no_op
18-
// api 'com.blankj:utilcode:1.23.0'
18+
// api 'com.blankj:utilcode:1.23.1'
1919
}

lib/base/src/main/java/com/blankj/lib/base/BaseApplication.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ open class BaseApplication : Application() {
8383
}
8484
}
8585

86-
protected fun isDebug(): Boolean {
86+
fun isDebug(): Boolean {
8787
if (isDebug == null) isDebug = AppUtils.isAppDebug()
8888
return isDebug!!
8989
}

subutil/lib/src/main/java/com/blankj/subutil/util/HttpsUtil renamed to subutil/lib/src/main/java/com/blankj/subutil/util/HttpsUtil.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
public class HttpsUtil {
1414

1515
private static final int CONNECT_TIMEOUT_TIME = 15000;
16-
private static final int READ_TIMEOUT_TIME = 19000;
16+
private static final int READ_TIMEOUT_TIME = 19000;
1717

1818
/**
1919
* POST + JSON
2020
*
2121
* @param data send data
22-
* @param url target url
22+
* @param url target url
2323
* @return data receive from server
2424
* @author MilkZS
2525
*/
@@ -31,7 +31,7 @@ public static String postJson(String data, String url) {
3131
* POST + FORM
3232
*
3333
* @param data send data
34-
* @param url target url
34+
* @param url target url
3535
* @return data receive from serv
3636
* @author MilkZS
3737
*/
@@ -43,7 +43,7 @@ public static String postForm(String data, String url) {
4343
* GET + JSON
4444
*
4545
* @param data send data
46-
* @param url target url
46+
* @param url target url
4747
* @return data receive from server
4848
* @author MilkZS
4949
*/
@@ -55,7 +55,7 @@ public static String getJson(String data, String url) {
5555
* GET + FORM
5656
*
5757
* @param data send data
58-
* @param url target url
58+
* @param url target url
5959
* @return data receive from server
6060
* @author MilkZS
6161
*/

utilcode/README-CN.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gradle:
44
```groovy
5-
implementation 'com.blankj:utilcode:1.23.0'
5+
implementation 'com.blankj:utilcode:1.23.1'
66
```
77

88

@@ -445,9 +445,7 @@ getCaptureIntent : 获取拍照的意图
445445
* ### 键盘相关 -> [KeyboardUtils.java][keyboard.java] -> [Demo][keyboard.demo]
446446
```
447447
showSoftInput : 显示软键盘
448-
showSoftInputUsingToggle : 显示软键盘用 toggle
449448
hideSoftInput : 隐藏软键盘
450-
hideSoftInputUsingToggle : 隐藏软键盘用 toggle
451449
toggleSoftInput : 切换键盘显示与否状态
452450
isSoftInputVisible : 判断软键盘是否可见
453451
registerSoftInputChangedListener : 注册软键盘改变监听器

utilcode/README-STATIC-BUS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ apply plugin: "com.blankj.bus"
2727
给 base 模块添加 [AndroidUtilCode](https://github.com/Blankj/AndroidUtilCode) 依赖:
2828

2929
```groovy
30-
api "com.blankj:utilcode:1.23.0"
30+
api "com.blankj:utilcode:1.23.1"
3131
```
3232

3333
比如 module0 中存在的 `Module0Activity.java`,我们通常都是在它内部写一个 `start` 函数来启动它,现在我们给它添加 `@BusUtils.Subscribe` 注解,并给注解的 `name` 赋唯一值,要注意,函数务必要 `public static` 哦:

0 commit comments

Comments
 (0)