Android 开发工具类,助力快速开发
系列
在工作之余,打算将一些常用的逻辑页面,模块,功能点做成library库,这样当有相似需求的时候,可以做到插拔式开发!现在系列中有以下内容

- Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Step 2. Add the dependency
dependencies {
implementation 'com.github.MZCretin:AndroidUtilsProject:Tag'
}
| 方法名 | 说明 |
|---|
| isSomeOneEmpty | 参数中有一个为空 |
| isAllNotEmpty | 参数都不为空 |
| isAllEmpty | 参数都为空 |
| 方法名 | 说明 |
|---|
| sendEmail | 调用系统邮件软件发邮件 |
| 方法名 | 说明 |
|---|
| openDefaultBrowser | 打开默认浏览器 |
| openAimPackageBrowser | 打开指定浏览器 打开失败则打开默认浏览器 |
| openPhoneBrowser | 打开系统自带的浏览器 打开失败则打开默认浏览器 |
| 方法名 | 说明 |
|---|
| isContainsNumUpperLowerOtherCase | 是否包含【大写字母】【小写字母】【数字】【特殊字符】所有类型 |
| isContainsNumUpperLowerOtherCaseWith2 | 是否包含【大写字母】【小写字母】【数字】【特殊字符】中的两种 |
| isContainsNumUpperLowerOtherCaseWith3 | 是否包含【大写字母】【小写字母】【数字】【特殊字符】中的三种 |