Android工具类库 - Go语言中文社区

Android工具类库


Android工具类库 Build Status API Gradle Version Licence

项目链接地址https://github.com/AllenCoder/SuperUtils

囊括了一大部分Android应用开发过程当中常用的工具类。工具类来源整理自网络和自己编写。(正在不断收集和整理中)

快速使用: 在工程目录下的 build.gradle 添加如下代码:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

在app的build.gradle引入依赖

1.Android 基础工具类

Android 基础工具类
AppManger 应用程序Activity管理工具类,用于Activity的管理和应用程序的退出 AppManger
Arith 精确计算工具类 Arith
BitmapUtil Bitmap 处理工具类 BitmapUtil
BtnClickUtils Android 快速点击判断拦截工具类 BtnClickUtils
CheckViewInRange View 区域范围判断工具类 CheckViewInRange
DataCleanManager Android 应用内数据清除工具类 DataCleanManager
DataUtil 数据转换工具类 DataUtil
DateTimeUtil Android 格式化时间工具类 DateTimeUtil
DigestUtils MD5加解密工具类 DigestUtils
DataCleanManager Android 应用内数据清除工具类 DataCleanManager
MLog Android Log打印工具类 支持行号 json打印 统一封装 MLog
NetUtils Android 网络状态判断工具类,检测WiFi ,4G网络状态 NetUtils
NumberUtil 金额格式化工具类(支持常用的保留指定位数的小数 和自动格式化处理) NumberUtil
RegexUtils 提供验证邮箱、手机号、电话号码、身份证号码、数字等方法 RegexUtils
ScreenListener Android屏幕状态监听工具类(判断 是否处于锁屏,亮屏状态) ScreenListener
ScreenUtil 获取屏幕状态信息 (屏幕宽高 等信息) ScreenUtil
StatusBarUtils 状态栏处理工具类 ,支持沉浸式状态栏 StatusBarUtils
ToolResource Android 获取资源工具类 ToolResource
TouchEventUtil Android Touch事件打印辅助工具类 TouchEventUtil
dependencies {
        compile 'com.github.AllenCoder.SuperUtils:apputils:1.0.2'
}

2.Android 数据库处理工具类

Android 数据库处理工具类
Utils Android 数据库导出到SD卡 Utils
dependencies {
         compile 'com.github.AllenCoder.SuperUtils:dbutils:1.0.2'
}

3.Android 多媒体处理工具类

Android 多媒体工具类
ImageTakerHelper 从相机或者相册取图片辅助类 ImageTakerHelper
Utils Utils
dependencies {
         compile 'com.github.AllenCoder.SuperUtils:mediautil:1.0.2'
}

License


  Copyright  2017 [AllenCoderr]

  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.
版权声明:本文来源CSDN,感谢博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/u010350809/article/details/68941677
站方申明:本站部分内容来自社区用户分享,若涉及侵权,请联系站方删除。
  • 发表于 2020-04-18 18:50:25
  • 阅读 ( 1463 )
  • 分类:

0 条评论

请先 登录 后评论

官方社群

GO教程

猜你喜欢