这是一个基于JAVA语言的Android工具类库,该库集成了常用的工具类,组件等。就比如StringUtil,'FileUtil','DeviceUtil',CircleImageView,LoadingDialog;
StringUtil.getInstance().reverseString("HydrogenAndroid");
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
在你的model目录下的build中增加依赖,替换下面latestVersion最新的版本,当前最新的版本:
dependencies {
implementation 'com.github.wonium-ethan:HydrogenAndroid:latestVersion'
}
| 工具类 | 描述 |
|---|---|
| ActivityManagerUtil | Activity管理类 |
| MathUtil | 数值计算工具类) |
| BitmapUtil | 获取Bitmap和对Bitmap的操作 |
| BlueToothUtil | 蓝牙相关的操作 |
| ByteUtil | Byte字节处理工具类 |
| CloseUtil | IO流的关闭操作 |
| ColorUtil | 颜色的生成转换滤色等操作 |
| CRCUtil | CRC校验工具类 |
| DataCleanUtil | 获取/清除缓存工具类 |
| DateUtil | 日期工具类 |
| DensityUtil | 屏幕信息获取数值的转换 |
| DeviceUtil | 获取设备信息类 |
| FileUtil | 对文件读写的操作 |
| InputMethodManagerUtil | 软键盘的打开和隐藏操作 |
| IntentUtil | Intent打开一些系统页面的操作 |
| Md5Util | MD5加密工具 |
| MediaUtil | 多媒体资源的操作 |
| NetWorkUtil | 网络状态 |
| SharedPreferencesUtil | SharedPreferences读写操作 |
| ShellUtil | Shell 工具类 |
| StatusBarUtil | 状态栏沉浸工具类 |
| StringUtil | 字符串的操作 |
| ThreadPoolUtil | 线程池的简单操作 |
| ToastUtil | Toast工具类 |
| VerifyUtil | 常用的验证方法 |
| ZLibUtil | ZLibUtil |
Copyright $today.year. Ethan
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.