File tree Expand file tree Collapse file tree
utilcode/src/test/java/com/blankj/utilcode/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- ## Android开发人员不得不收集的代码([ 持续更新中] [ update_log.md ] )
2- ***
3-
4- ** [ README of English] [ readme.md ] **
1+ # Android开发人员不得不收集的代码([ 持续更新中] [ update_log.md ] )
52
6- ***
3+ ## [ README of English ] [ readme.md ]
74
85为方便查找,已进行大致归类,其目录如下所示:
96
@@ -561,39 +558,34 @@ getEntries : 获取压缩文件中的文件对象
561558
562559***
563560
564- ### About
565- ***
561+ ## About
566562
567563* 做这份整理是想把它作为Android开发的小字典,当遇到一些琐碎问题时,不用再面向百度或者谷歌查询API的使用,费时费力,这里有的话,大家尽管撸走;同时也希望它能逐日壮大起来,期待大家的Star和完善,当然我也会一直更新发布版本和日志,为了方便大家导入,现已上传jcenter;其中很多代码也是汇四方之精华,谢谢前辈们的提供,当然最终还是要通过单元测试的,如有错误,请及时告之。
568564* QQ群提供讨论,1群:74721490(已满)2群:25206533,至于验证问题对大家来说肯定都是小case。关于群:[ 在别人生活里低调地做配角(我和466个程序员的故事)] [ group ] 。
569565* 我的[ 微博] [ weibo ] ,求个关注哈。
570566
571- ### Download
572- ***
567+ ## Download
573568
574569Gradle:
575570``` groovy
576571compile 'com.blankj:utilcode:1.3.5'
577572```
578573
579- ### How to use
580- ***
574+ ## How to use
581575
582576```
583577Utils.init(context);
584578```
585579
586- ### Proguard
587- ***
580+ ## Proguard
588581
589582```
590583-keep class com.blankj.utilcode.** { *; }
591584-keepclassmembers class com.blankj.utilcode.** { *; }
592585-dontwarn com.blankj.utilcode.**
593586```
594587
595- ### License
596- ***
588+ ## License
597589
598590```
599591Copyright 2016 Blankj
Original file line number Diff line number Diff line change 1- ## Android developers should collect the following utils
2- ***
1+ # Android developers should collect the following utils
32
4- ** [ README of Chinese] [ readme-cn.md ] **
3+ ## [ README of Chinese] [ readme-cn.md ]
54
6- ***
75Directory is shown below:
86
97> - ** About Activity→[ ActivityUtils.java] [ activity.java ] →[ Demo] [ activity.demo ] **
@@ -560,37 +558,32 @@ getEntries
560558
561559***
562560
563- ### About
564- ***
561+ ## About
565562
566563** I'm so sorry for that the code is annotated with Chinese.**
567564
568- ### Download
569- ***
565+ ## Download
570566
571567Gradle:
572568``` groovy
573569compile 'com.blankj:utilcode:1.3.5'
574570```
575571
576- ### How to use
577- ***
572+ ## How to use
578573
579574```
580575Utils.init(context);
581576```
582577
583- ### Proguard
584- ***
578+ ## Proguard
585579
586580```
587581-keep class com.blankj.utilcode.** { *; }
588582-keepclassmembers class com.blankj.utilcode.** { *; }
589583-dontwarn com.blankj.utilcode.**
590584```
591585
592- ### License
593- ***
586+ ## License
594587
595588```
596589Copyright 2016 Blankj
Original file line number Diff line number Diff line change @@ -36,11 +36,10 @@ public void readme2Eng() throws Exception {
3636 File readmeCN = new File (new File (System .getProperty ("user.dir" )).getParent () + SEP + "README-CN.md" );
3737 File readmeEng = new File (new File (System .getProperty ("user.dir" )).getParent () + SEP + "README.md" );
3838 List <String > list = FileUtils .readFile2List (readmeCN , "UTF-8" );
39- StringBuilder sb = new StringBuilder ("## Android developers should collect the following utils\r \n ***\r \n \r \n " +
40- "**[README of Chinese][readme-cn.md]**\r \n \r \n " +
41- "***\r \n " +
39+ StringBuilder sb = new StringBuilder ("# Android developers should collect the following utils\r \n \r \n " +
40+ "## [README of Chinese][readme-cn.md]\r \n \r \n " +
4241 "Directory is shown below:\r \n \r \n " );
43- List <String > lines = list .subList (9 , list .size ());
42+ List <String > lines = list .subList (6 , list .size ());
4443 for (String line : lines ) {
4544 if (line .contains ("> -" ) && line .contains ("Utils" )) {
4645 String utilsName = line .substring (line .indexOf ("[" ) + 1 , line .indexOf ("Utils" ));
You can’t perform that action at this time.
0 commit comments