All Projects → SenhLinsh → Utils Everywhere

SenhLinsh / Utils Everywhere

整理并收集各种常用的覆盖面广的工具类

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Utils Everywhere

Schematics Utilities
🛠️ Useful exported utilities for working with Schematics
Stars: ✭ 73 (-77.81%)
Mutual labels:  utils, util
Ramda Extension
🤘Utility library for functional JavaScript. With ❤️ to Ramda.
Stars: ✭ 139 (-57.75%)
Mutual labels:  utils, tools
Ppo
ppo is a super small and useful utils library for JavaScript 🐝🐜
Stars: ✭ 105 (-68.09%)
Mutual labels:  utils, tool
Goutil
go util 是golang通用工具包,实现一站式,开箱即用
Stars: ✭ 56 (-82.98%)
Mutual labels:  util, tools
Bbo
bbo is a utility library of zero dependencies for javascript. 🍖🌭🍔
Stars: ✭ 227 (-31%)
Mutual labels:  utils, tools
Androidtools
Android开发工具类库.Toolkit of Android development, make your app developing easier!
Stars: ✭ 67 (-79.64%)
Mutual labels:  util, tool
Outils
🚀 前端业务代码工具库
Stars: ✭ 1,721 (+423.1%)
Mutual labels:  utils, tool
Kit
Unity3D开发的工具包集合, 集成常见的开发组件以免于重复造轮子。佛系更新中。。。
Stars: ✭ 123 (-62.61%)
Mutual labels:  tool, tools
Pydu
Useful data structures and utils for Python
Stars: ✭ 315 (-4.26%)
Mutual labels:  utils, util
Goutil
💪 Helper Utils For The Go: string, array/slice, map, format, cli, env, filesystem, test and more. Go 的一些工具函数,格式化,特殊处理,常用信息获取等等
Stars: ✭ 205 (-37.69%)
Mutual labels:  utils, tools
Protools
历经开发周期两年,并且应用过千万级别项目的工具箱
Stars: ✭ 663 (+101.52%)
Mutual labels:  util, tool
Xxl Tool
a series of tools that make Java development more efficient.(Java工具类库XXL-TOOL)
Stars: ✭ 311 (-5.47%)
Mutual labels:  util, tool
Hutool
🍬A set of tools that keep Java sweet.
Stars: ✭ 21,386 (+6400.3%)
Mutual labels:  util, tool
Dialogutil
common used dialog with material style ( in support v7),ios style,get top activity automatically, invoke everywhere (any thread , any window)
Stars: ✭ 948 (+188.15%)
Mutual labels:  utils, util
J2team Community
Join our group to see more
Stars: ✭ 172 (-47.72%)
Mutual labels:  tool, tools
Utils.js
Useful JavaScript Functions Collection 一些很实用的JavaScript函数封装集合
Stars: ✭ 121 (-63.22%)
Mutual labels:  utils, tools
Depressurizer
A Steam library categorizing tool.
Stars: ✭ 1,008 (+206.38%)
Mutual labels:  tool, tools
Go Mygen
Quickly generate CURD and documentation for operating MYSQL.etc
Stars: ✭ 94 (-71.43%)
Mutual labels:  tool, tools
Rxtool
Android开发人员不得不收集的工具类集合 | 支付宝支付 | 微信支付(统一下单) | 微信分享 | Zip4j压缩(支持分卷压缩与加密) | 一键集成UCrop选择圆形头像 | 一键集成二维码和条形码的扫描与生成 | 常用Dialog | WebView的封装可播放视频 | 仿斗鱼滑动验证码 | Toast封装 | 震动 | GPS | Location定位 | 图片缩放 | Exif 图片添加地理位置信息(经纬度) | 蛛网等级 | 颜色选择器 | ArcGis | VTPK | 编译运行一下说不定会找到惊喜
Stars: ✭ 11,567 (+3415.81%)
Mutual labels:  utils, tools
go-tools
A utility tool library of Golang.
Stars: ✭ 44 (-86.63%)
Mutual labels:  utils, util

Utils-Everywhere

Release

整理并收集各种常用的覆盖面广的工具类。

1. 简介

Utils-Everywhere 是日常项目和工作中将常 用的代码进行封装和整理形成的工具类,一部分是结合自己再实际开发中整理而得,一部分则是直接参考或使用其他优 秀的开源工具类(文末和代码中均标明出处,部分遗漏之处请谅解)。使用封装后的工具库,可以大大提高我们的开发 效率,一方面可以减少非常多的重复代码,另一方面可以避免对某些代码或API的死记硬背,工具类会以尽可能平白简 单的方式来让大家熟悉并使用其中的方法。

由于部分工具类是由本人『亲自操刀』,而本人能力有限,离大神尚且遥远,可能部分方法没有经过优化甚至存 在 BUG,希望广大码友进行指正。通过也欢迎大家对工具类进行补充和完善,一起打造一个覆盖面广的工具类集合。

2. 使用

2.1 添加依赖

2.1.1 在项目根目录的build.gradle中添加自定义仓库
allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}
2.1.2 在module里面添加依赖
dependencies {
    implementation 'com.github.SenhLinsh:Utils-Everywhere:3.0.0'
}

2.2 初始化 (可选)

在使用本项目中工具类的方法之前,请先进行初始化

Utils.init(context);

3. 工具类介绍

3.1 工具类(utils)

工具类 简介 主要 API
AccessibilityUtils 辅助功能(无障碍服务功能)相关 -
ActivityLifecycleUtils Activity 生命周期回调相关,目前主要用于获取顶部 Activity 以及判断 APP 是否处于后台 -
ADBUtils 执行 ADB 命令相关 -
AppUtils APP 相关 -
ArrayUtils 数组相关 -
BitmapUtils Bitmap 相关,如对 Bitmap 对象的获取、处理、转化和保存 -
CameraUtils 摄像头相关,如检查摄像头设备、检查前后置摄像头等 -
ChineseNumberUtils 中文数字处理 -
ClassUtils Class 字节码相关、反射相关 -
CleanUtils 清理缓存和数据相关 -
ClipboardUtils 剪贴板相关 -
ColorUtils 颜色处理 -
ContextUtils APP Context 的获取,简化 Context 方法 -
DateUtils 日期相关 -
DeviceUtils 设备相关,判断手机或平板设备 -
EncodeUtils 编码解码相关 -
EncryptUtils 加密解密相关 -
FileUtils 文件或文件夹操作相关,如读写文件、操作文件等 -
HandlerUtils 默认开启一个绑定主线程的 Handler,方便在各个地方随时执行主线程任务 -
IntentUtils Intent 意图相关 -
IOUtils IO 流对象相关,用于简化关闭流操作 -
KeyboardUtils 操作系统键盘 -
ListUtils 对集合进行操作 -
LogUtils Log 日志打印简化 -
LunarCalendarUtils 农历日期的解析和格式化等 -
LunarConverseUtils 阳历阴历转换相关 -
NetworkUtils 网络相关,如检查网络、获取 IP 等 -
OSUtils 判断当前 OS 系统 -
PermissionUtils 权限处理相关 -
PhoneStateUtils 手机状态相关,如判断锁屏、屏幕是否亮着 -
PhoneUtils 设备硬件相关,获取手机信息(厂商、品牌、型号、IMEI 码、IMSI 码、IP 等) -
RandomUtils 随机数相关 -
RegexUtils 正则相关 -
ResourceUtils 简化资源的对象的获取(资源 id、图片、字符串、颜色等) -
ScreenUtils 屏幕相关,如获取屏幕尺寸、方向、截屏等 -
SDCardUtils 外部储存相关,如检查 SD 卡,获取根目录、容量等 -
Shapes 构建 shape 形状相关 -
SharedPreferenceUtils 简化 SharedPreference 配置的保存和获取 -
ShellUtils Shell 命令相关 -
StringUtils 字符串处理 -
ThreadUtils 线程相关 -
ToastUtils Toast 相关,简化调用 -
UEPermission 权限操作简化 -
UnitConverseUtils 单位转换相关,如 dp、px、sp 之间的转换 -
UriUtils Uri 相关 -
ViewUtils View 相关 -
ZipUtils 压缩相关 -

3.2 辅助类(tools)

工具类 简介 主要 API
AccessibilityHelper 简化 AccessibilityService 的使用 -
ColorSelectorBuilder 构建颜色选择器的辅助类 -
CursorHelper 简化 Cursor 对象的操作 -
DrawableSelectorBuilder 构建图像选择器的辅助类 -
IntentBuilder Intent 构建辅助类,链式编程简化 Intent 构建,传递数据时可隐藏 key 的使用 -
ParamSpannableStringBuilder 构建参数化 SpannableString 的辅助类 -
ShapeBuilder 构建 Shape 的辅助类 -
WhereBuilder 构建 SQL 查询条件筛选语句的辅助类 -

4. 参考

本项目中参考并借鉴了多个优秀开源项目的工具类,包括但不限于以下:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].