Skip to content

Latest commit

 

History

History
237 lines (145 loc) · 9.3 KB

README_ORIGINAL.md

File metadata and controls

237 lines (145 loc) · 9.3 KB

DevUtils

Profile License Version API Version Utils

🔥 ( 持续更新,目前含 300+ 工具类 ) Roadmap
DevUtils 是一个 Android 工具库,主要根据不同功能模块,封装快捷使用的工具类及 API 方法调用。
该项目尽可能的便于开发人员,快捷、高效开发安全可靠的项目。

Android 规范 Java 规范 Git 规范

module

Download

下载 DevUtils 系列开发库演示应用 APK

Documentation - Lib ( 全部已迁移至 Maven Central )

DevApp - Android 工具类库

DevAssist - 封装逻辑代码, 实现多个快捷功能辅助类、以及 Engine 兼容框架等

DevBase - Base ( Activity、Fragment )、MVP、ViewBinding、ContentLayout 基类库

DevBaseMVVM - MVVM ( ViewDataBinding + ViewModel ) 基类库

DevEngine - 第三方框架解耦、一键替换第三方库、同类库多 Engine 组件化混合使用

DevHttpCapture - OkHttp 抓包工具库

DevHttpCaptureCompiler - OkHttp 抓包工具库 ( 可视化功能 )

DevHttpManager - OkHttp 管理库 ( Retrofit 多 BaseUrl 管理、Progress 监听 )

DevRetrofit - Retrofit + Kotlin Coroutines 封装

DevWidget - 自定义 View UI 库

DevEnvironment - Android 环境配置切换库

DevJava - Java 工具类库 ( 不依赖 android api )

Other

DevComponent

DevComponent 【100% Kotlin 实现 Android 项目组件化示例代码】 基于 Android JetPack + Kotlin + Coroutines + MVVM 架构(DataBinding、ViewModel、Lifecycle) 等最新技术栈进行组件化基础搭建,使用 ARouter 方案实现组件化

DevUtils-repo

DevUtils-repo 该项目是针对 DevUtils 第三方库封装扩展、新技术 Demo 编写、大文件资源等迁移存储仓库。

减少 DevUtils 仓库大小方便快速 clone,并让 DevUtils 项目更加纯粹只保留 Dev 系列开发库相关代码。

移除多余的第三方库、插件依赖配置,避免过多无关且繁杂配置影响快速理解项目,降低第三方库下载数量、编译运行 DevUtils 演示 Demo App 难度,使项目可更加快捷运行。

DevUtils API Generate

JavaDoc API Generate 该工具类 (DevUtils) API 文档,是通过 JavaDoc 项目读取 class 信息生成, 并且进行代码、注释间距规范检测,生成效果示范 DevApp - API

DevOther

DevOther 功能、工具类二次封装,直接 copy 使用【 大部分迁移至 DevUtils-repo 】

DevSKU

DevSKU 商品 SKU 组合封装实现 ( 如何使用搜索 DevSKUActivity )

Dev 系列开发库全部 Lib Gradle

// DevApp - Android 工具类库
implementation 'io.github.afkt:DevAppX:2.4.4'

// DevAssist - 封装逻辑代码, 实现多个快捷功能辅助类、以及 Engine 兼容框架等
implementation 'io.github.afkt:DevAssist:1.4.0'

// DevBase - Base ( Activity、Fragment )、MVP、ViewBinding、ContentLayout 基类库
implementation 'io.github.afkt:DevBase:1.1.6'

// DevBaseMVVM - MVVM ( ViewDataBinding + ViewModel ) 基类库
implementation 'io.github.afkt:DevBaseMVVM:1.1.4'

// DevEngine - 第三方框架解耦、一键替换第三方库、同类库多 Engine 组件化混合使用
implementation 'io.github.afkt:DevEngine:1.1.2'

// DevHttpCapture - OkHttp 抓包工具库
implementation 'io.github.afkt:DevHttpCapture:1.1.5'

// DevHttpCaptureCompiler - OkHttp 抓包工具库 ( 可视化功能 )
debugImplementation 'io.github.afkt:DevHttpCaptureCompiler:1.1.5'
releaseImplementation 'io.github.afkt:DevHttpCaptureCompilerRelease:1.1.5'

// DevHttpManager - OkHttp 管理库 ( Retrofit 多 BaseUrl 管理、Progress 监听 )
implementation 'io.github.afkt:DevHttpManager:1.0.5'

// DevRetrofit - Retrofit + Kotlin Coroutines 封装
implementation 'io.github.afkt:DevRetrofit:1.0.4'

// DevWidget - 自定义 View UI 库
implementation 'io.github.afkt:DevWidgetX:1.2.2'

// DevEnvironment - Android 环境配置切换库
implementation 'io.github.afkt:DevEnvironment:1.1.4'
debugAnnotationProcessor 'io.github.afkt:DevEnvironmentCompiler:1.1.4' // kaptDebug
releaseAnnotationProcessor 'io.github.afkt:DevEnvironmentCompilerRelease:1.1.4' // kaptRelease
//annotationProcessor 'io.github.afkt:DevEnvironmentCompiler:1.1.4' // kapt

// DevJava - Java 工具类库 ( 不依赖 android api )
implementation 'io.github.afkt:DevJava:1.5.0' // 用于纯 Java 开发,如果依赖了 DevApp 则不需要依赖 DevJava

赞赏

如果你喜欢 DevUtils 的设计,感觉它帮助到了你,并且很想支持该库的后续开发和维护,那么可以扫描下方的二维码,请作者喝一杯咖啡~

License

Copyright 2018 afkT

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:https://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.