Skip to content

Commit 2847e5a

Browse files
committed
see 11/30 log
1 parent b4e42b4 commit 2847e5a

File tree

98 files changed

+1288
-1286
lines changed

Some content is hidden

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

98 files changed

+1288
-1286
lines changed

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.9.8-brightgreen.svg
44+
[aucsvg]: https://img.shields.io/badge/AndroidUtilCode-v1.9.9-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 ptoject helps you a lot, and you would like to support this ptoject's fu
4141

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

44-
[aucsvg]: https://img.shields.io/badge/AndroidUtilCode-v1.9.8-brightgreen.svg
44+
[aucsvg]: https://img.shields.io/badge/AndroidUtilCode-v1.9.9-brightgreen.svg
4545
[auc]: https://github.com/Blankj/AndroidUtilCode
4646

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

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ dependencies {
6161
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakcanary_version"
6262
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakcanary_version"
6363

64-
// implementation 'com.blankj:utilcode:1.9.8'
64+
// implementation 'com.blankj:utilcode:1.9.9'
6565
}
6666

6767

app/src/main/java/com/blankj/androidutilcode/Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ public class Config {
2525
CACHE_PATH = Environment.getExternalStorageDirectory().getAbsolutePath();
2626
TEST_APK_PATH = CACHE_PATH + FILE_SEP + "test_install.apk";
2727
}
28-
}
28+
}

app/src/main/java/com/blankj/androidutilcode/UtilsApp.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* author: Blankj
1616
* blog : http://blankj.com
1717
* time : 2016/10/12
18-
* desc : 工具类测试App
18+
* desc : 工具类测试 App
1919
* </pre>
2020
*/
2121
public class UtilsApp extends BaseApplication {
@@ -51,19 +51,19 @@ private void initLeakCanary() {
5151
// init it in ur application
5252
public void initLog() {
5353
LogUtils.Config config = LogUtils.getConfig()
54-
.setLogSwitch(BuildConfig.DEBUG)// 设置log总开关,包括输出到控制台和文件,默认开
54+
.setLogSwitch(BuildConfig.DEBUG)// 设置 log 总开关,包括输出到控制台和文件,默认开
5555
.setConsoleSwitch(BuildConfig.DEBUG)// 设置是否输出到控制台开关,默认开
56-
.setGlobalTag(null)// 设置log全局标签,默认为空
57-
// 当全局标签不为空时,我们输出的log全部为该tag
58-
// 为空时,如果传入的tag为空那就显示类名,否则显示tag
59-
.setLogHeadSwitch(true)// 设置log头信息开关,默认为开
60-
.setLog2FileSwitch(false)// 打印log时是否存到文件的开关,默认关
56+
.setGlobalTag(null)// 设置 log 全局标签,默认为空
57+
// 当全局标签不为空时,我们输出的 log 全部为该 tag
58+
// 为空时,如果传入的 tag 为空那就显示类名,否则显示 tag
59+
.setLogHeadSwitch(true)// 设置 log 头信息开关,默认为开
60+
.setLog2FileSwitch(false)// 打印 log 时是否存到文件的开关,默认关
6161
.setDir("")// 当自定义路径为空时,写入应用的/cache/log/目录中
6262
.setFilePrefix("")// 当文件前缀为空时,默认为"util",即写入文件为"util-MM-dd.txt"
6363
.setBorderSwitch(true)// 输出日志是否带边框开关,默认开
64-
.setConsoleFilter(LogUtils.V)// log的控制台过滤器,和logcat过滤器同理,默认Verbose
65-
.setFileFilter(LogUtils.V)// log文件过滤器,和logcat过滤器同理,默认Verbose
66-
.setStackDeep(1);// log栈深度,默认为1
64+
.setConsoleFilter(LogUtils.V)// log 的控制台过滤器,和 logcat 过滤器同理,默认 Verbose
65+
.setFileFilter(LogUtils.V)// log 文件过滤器,和 logcat 过滤器同理,默认 Verbose
66+
.setStackDeep(1);// log 栈深度,默认为 1
6767
LogUtils.d(config.toString());
6868
}
6969

app/src/main/java/com/blankj/androidutilcode/base/BaseActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
* author: Blankj
1212
* blog : http://blankj.com
1313
* time : 2016/10/24
14-
* desc : Activity基类
14+
* desc : Activity 基类
1515
* </pre>
1616
*/
1717
public abstract class BaseActivity extends AppCompatActivity
1818
implements IBaseView {
1919

2020
/**
21-
* 当前Activity渲染的视图View
21+
* 当前 Activity 渲染的视图 View
2222
*/
2323
protected View contentView;
2424
/**

app/src/main/java/com/blankj/androidutilcode/base/BaseApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* author: Blankj
1111
* blog : http://blankj.com
1212
* time : 2017/03/30
13-
* desc : 基类App
13+
* desc : 基类 App
1414
* </pre>
1515
*/
1616
public class BaseApplication extends Application {

app/src/main/java/com/blankj/androidutilcode/base/BaseBackActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* author: Blankj
2222
* blog : http://blankj.com
2323
* time : 2017/06/27
24-
* desc : DrawerActivity基类
24+
* desc : DrawerActivity 基类
2525
* </pre>
2626
*/
2727
public abstract class BaseBackActivity extends BaseActivity {

app/src/main/java/com/blankj/androidutilcode/base/BaseDrawerActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* author: Blankj
2020
* blog : http://blankj.com
2121
* time : 2017/06/27
22-
* desc : DrawerActivity基类
22+
* desc : DrawerActivity 基类
2323
* </pre>
2424
*/
2525
public abstract class BaseDrawerActivity extends BaseActivity {

app/src/main/java/com/blankj/androidutilcode/base/BaseFragment.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* author: Blankj
1515
* blog : http://blankj.com
1616
* time : 2017/03/28
17-
* desc : Fragment-v4基类
17+
* desc : Fragment-v4 基类
1818
* </pre>
1919
*/
2020
public abstract class BaseFragment extends Fragment
@@ -24,7 +24,7 @@ public abstract class BaseFragment extends Fragment
2424

2525
private static final String STATE_SAVE_IS_HIDDEN = "STATE_SAVE_IS_HIDDEN";
2626
/**
27-
* 当前Activity渲染的视图View
27+
* 当前 Activity 渲染的视图 View
2828
*/
2929
protected View contentView;
3030
/**

0 commit comments

Comments
 (0)