|
8 | 8 |
|
9 | 9 | ### 快速使用: 在工程目录下的 build.gradle 添加如下代码:
|
10 | 10 |
|
| 11 | + |
11 | 12 | ```
|
12 | 13 | allprojects {
|
13 | 14 | repositories {
|
14 | 15 | ...
|
15 | 16 | maven { url 'https://jitpack.io' }
|
16 | 17 | }
|
17 | 18 | }
|
| 19 | +
|
18 | 20 | ```
|
19 | 21 |
|
20 | 22 | 在app的build.gradle引入依赖
|
21 | 23 |
|
22 | 24 | ### 1.Android 基础工具类
|
23 | 25 |
|
| 26 | +| Android 基础工具类 | | | | |
| 27 | +| ------------------ | -------------------------------------------------------------- | --- | --- | |
| 28 | +| AppManger | 应用程序Activity管理工具类,用于Activity的管理和应用程序的退出 | [AppManger][1] | | |
| 29 | +| Arith | 精确计算工具类 | [Arith][2] | | |
| 30 | +| BitmapUtil | Bitmap 处理工具类 | [BitmapUtil][3] | | |
| 31 | +| BtnClickUtils |Android 快速点击判断拦截工具类 | [BtnClickUtils][4] | | |
| 32 | +| CheckViewInRange | View 区域范围判断工具类 | [CheckViewInRange][5] | | |
| 33 | +| DataCleanManager | Android 应用内数据清除工具类 | [DataCleanManager][6] | | |
| 34 | +| DataUtil |数据转换工具类 | [DataUtil][7] | | |
| 35 | +| DateTimeUtil | Android 格式化时间工具类 | [DateTimeUtil][8] | | |
| 36 | +| DigestUtils |MD5加解密工具类 | [DigestUtils][9] | | |
| 37 | +| DataCleanManager | Android 应用内数据清除工具类 | [DataCleanManager][10] | | |
| 38 | +| MLog | Android Log打印工具类 支持行号 json打印 统一封装| [MLog][11] | | |
| 39 | +| NetUtils | Android 网络状态判断工具类,检测WiFi ,4G网络状态 | [NetUtils][12] | | |
| 40 | +| NumberUtil | 金额格式化工具类(支持常用的保留指定位数的小数 和自动格式化处理) | [NumberUtil][12] | | |
| 41 | +| RegexUtils |提供验证邮箱、手机号、电话号码、身份证号码、数字等方法| [RegexUtils][13] | | |
| 42 | +| ScreenListener | Android屏幕状态监听工具类(判断 是否处于锁屏,亮屏状态) | [ScreenListener][14] | | |
| 43 | +| ScreenUtil | 获取屏幕状态信息 (屏幕宽高 等信息) | [ScreenUtil][15] | | |
| 44 | +| StatusBarUtils |状态栏处理工具类 ,支持沉浸式状态栏| [StatusBarUtils][16] | | |
| 45 | +| ToolResource | Android 获取资源工具类 | [ToolResource][17] | | |
| 46 | +| TouchEventUtil | Android Touch事件打印辅助工具类 | [TouchEventUtil][18] | | |
| 47 | + |
24 | 48 | ```
|
25 | 49 | dependencies {
|
26 | 50 | compile 'com.github.AllenCoder.SuperUtils:apputils:1.0.2'
|
@@ -61,3 +85,25 @@ dependencies {
|
61 | 85 | limitations under the License.
|
62 | 86 |
|
63 | 87 | ```
|
| 88 | + |
| 89 | + |
| 90 | +[1]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/AppManger.java |
| 91 | +[2]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/Arith.java |
| 92 | +[3]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/BitmapUtil.java |
| 93 | +[4]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/BtnClickUtils.java |
| 94 | +[5]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/CheckViewInRange.java |
| 95 | +[6]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/DataCleanManager.java |
| 96 | +[7]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/DataUtil.java |
| 97 | + |
| 98 | +[8]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/DateTimeUtil.java |
| 99 | +[9]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/DigestUtils.java |
| 100 | +[10]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/DataCleanManager.java |
| 101 | +[11]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/MLog.java |
| 102 | +[12]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/NetUtils.java |
| 103 | +[13]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/RegexUtils.java |
| 104 | +[14]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/ScreenListener.java |
| 105 | + |
| 106 | +[15]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/ScreenUtil.java |
| 107 | +[16]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/StatusBarUtils.java |
| 108 | +[17]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/ToolResource.java |
| 109 | +[18]: https://github.com/AllenCoder/SuperUtils/blob/master/apputils/src/main/java/com/allen/apputils/TouchEventUtil.java |
0 commit comments