diff --git a/README.md b/README.md index 22c5142558..7c43c8a0a3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![GitHub](https://img.shields.io/badge/GitHub-afkT-blue.svg)](https://github.com/afkT) [![GitHub license](https://img.shields.io/github/license/afkT/DevUtils.svg)](https://github.com/afkT/DevUtils/blob/master/LICENSE) -[![MavenCentral](https://img.shields.io/badge/DevUtils-2.3.3-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) +[![MavenCentral](https://img.shields.io/badge/DevUtils-2.3.4-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) [![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=14) [![Utils](https://img.shields.io/badge/utils-200+-ff69b4.svg)](https://github.com/afkT/DevUtils/blob/master/lib/DevApp/README.md) @@ -97,38 +97,38 @@ ```gradle // DevApp - Android 工具类库 -implementation 'io.github.afkt:DevAppX:2.3.3' +implementation 'io.github.afkt:DevAppX:2.3.4' // DevAssist - 封装逻辑代码, 实现多个快捷功能辅助类、以及 Engine 兼容框架等 -implementation 'io.github.afkt:DevAssist:1.3.1' +implementation 'io.github.afkt:DevAssist:1.3.2' // DevBase - Base ( Activity、Fragment )、MVP、ViewBinding、ContentLayout 基类库 -implementation 'io.github.afkt:DevBase:1.0.9' +implementation 'io.github.afkt:DevBase:1.1.0' // DevBaseMVVM - MVVM ( ViewDataBinding + ViewModel ) 基类库 -implementation 'io.github.afkt:DevBaseMVVM:1.0.7' +implementation 'io.github.afkt:DevBaseMVVM:1.0.8' // DevEngine - 第三方框架解耦、一键替换第三方库、同类库多 Engine 组件化混合使用 -implementation 'io.github.afkt:DevEngine:1.0.3' +implementation 'io.github.afkt:DevEngine:1.0.4' // DevHttpCapture - OkHttp 抓包工具库 -implementation 'io.github.afkt:DevHttpCapture:1.0.7' +implementation 'io.github.afkt:DevHttpCapture:1.0.8' // DevHttpCaptureCompiler - OkHttp 抓包工具库 ( 可视化功能 ) -debugImplementation 'io.github.afkt:DevHttpCaptureCompiler:1.0.7' -releaseImplementation 'io.github.afkt:DevHttpCaptureCompilerRelease:1.0.7' +debugImplementation 'io.github.afkt:DevHttpCaptureCompiler:1.0.8' +releaseImplementation 'io.github.afkt:DevHttpCaptureCompilerRelease:1.0.8' // DevWidget - 自定义 View UI 库 -implementation 'io.github.afkt:DevWidgetX:1.1.4' +implementation 'io.github.afkt:DevWidgetX:1.1.5' // DevEnvironment - Android 环境配置切换库 -implementation 'io.github.afkt:DevEnvironment:1.0.7' -debugAnnotationProcessor 'io.github.afkt:DevEnvironmentCompiler:1.0.7' // kaptDebug -releaseAnnotationProcessor 'io.github.afkt:DevEnvironmentCompilerRelease:1.0.7' // kaptRelease -//annotationProcessor 'io.github.afkt:DevEnvironmentCompiler:1.0.7' // kapt +implementation 'io.github.afkt:DevEnvironment:1.0.8' +debugAnnotationProcessor 'io.github.afkt:DevEnvironmentCompiler:1.0.8' // kaptDebug +releaseAnnotationProcessor 'io.github.afkt:DevEnvironmentCompilerRelease:1.0.8' // kaptRelease +//annotationProcessor 'io.github.afkt:DevEnvironmentCompiler:1.0.8' // kapt // DevJava - Java 工具类库 ( 不依赖 android api ) -implementation 'io.github.afkt:DevJava:1.4.0' // 用于纯 Java 开发,如果依赖了 DevApp 则不需要依赖 DevJava +implementation 'io.github.afkt:DevJava:1.4.1' // 用于纯 Java 开发,如果依赖了 DevApp 则不需要依赖 DevJava ``` ## [APK Demo](https://github.com/afkT/Resources/tree/main/APK) diff --git a/lib/DevApp/README.md b/lib/DevApp/README.md index a40d92b2f6..2d48718c31 100644 --- a/lib/DevApp/README.md +++ b/lib/DevApp/README.md @@ -6,7 +6,7 @@ //implementation 'com.afkt:DevApp:1.9.4' // AndroidX ( Maven Central ) -implementation 'io.github.afkt:DevAppX:2.3.3' +implementation 'io.github.afkt:DevAppX:2.3.4' ``` ## 目录结构 diff --git a/lib/DevAssist/README.md b/lib/DevAssist/README.md index ba92b2414c..56bc1425c0 100644 --- a/lib/DevAssist/README.md +++ b/lib/DevAssist/README.md @@ -2,7 +2,7 @@ ## Gradle ```gradle -implementation 'io.github.afkt:DevAssist:1.3.1' +implementation 'io.github.afkt:DevAssist:1.3.2' ``` ## 目录结构 @@ -609,7 +609,7 @@ implementation 'io.github.afkt:DevAssist:1.3.1' | isSource | 是否有效资源 | -* **变量基类 ( 方便判断处理 ) ->** [DevVariable.java](https://github.com/afkT/DevUtils/blob/master/lib/DevAssist/src/main/java/dev/base/DevVariable.java) +* **变量操作基类 ->** [DevVariable.java](https://github.com/afkT/DevUtils/blob/master/lib/DevAssist/src/main/java/dev/base/DevVariable.java) | 方法 | 注释 | | :- | :- | @@ -634,6 +634,17 @@ implementation 'io.github.afkt:DevAssist:1.3.1' | getVariableKeysToReverse | 获取变量数据 key list ( 倒序 ) | +* **变量操作基类扩展类 ->** [DevVariableExt.java](https://github.com/afkT/DevUtils/blob/master/lib/DevAssist/src/main/java/dev/base/DevVariableExt.java) + +| 方法 | 注释 | +| :- | :- | +| getCreator | 获取变量创建器 | +| setCreator | 设置变量创建器 | +| getVariable | 获取变量操作基类 | +| getVariableValue | 通过 key 获取 value | +| create | 创建存储值 | + + ## **`dev.base.data`** diff --git a/lib/DevBase/README.md b/lib/DevBase/README.md index 5d75965a3b..62efc9a48b 100644 --- a/lib/DevBase/README.md +++ b/lib/DevBase/README.md @@ -2,7 +2,7 @@ ## Gradle ```gradle -implementation 'io.github.afkt:DevBase:1.0.9' +implementation 'io.github.afkt:DevBase:1.1.0' ``` ## 目录结构 diff --git a/lib/DevBaseMVVM/README.md b/lib/DevBaseMVVM/README.md index 112e2b5ec9..b971b98a98 100644 --- a/lib/DevBaseMVVM/README.md +++ b/lib/DevBaseMVVM/README.md @@ -2,7 +2,7 @@ ## Gradle ```gradle -implementation 'io.github.afkt:DevBaseMVVM:1.0.7' +implementation 'io.github.afkt:DevBaseMVVM:1.0.8' ``` ## 目录结构 diff --git a/lib/DevEngine/README.md b/lib/DevEngine/README.md index 4e52a39367..fe40565844 100644 --- a/lib/DevEngine/README.md +++ b/lib/DevEngine/README.md @@ -2,7 +2,7 @@ ## Gradle ```gradle -implementation 'io.github.afkt:DevEngine:1.0.3' +implementation 'io.github.afkt:DevEngine:1.0.4' ``` ## 目录结构 diff --git a/lib/DevHttpCapture/README.md b/lib/DevHttpCapture/README.md index 2f7263fcd8..88ac946ef8 100644 --- a/lib/DevHttpCapture/README.md +++ b/lib/DevHttpCapture/README.md @@ -2,7 +2,7 @@ ## Gradle ```gradle -implementation 'io.github.afkt:DevHttpCapture:1.0.7' +implementation 'io.github.afkt:DevHttpCapture:1.0.8' ``` ## 目录结构 diff --git a/lib/DevJava/README.md b/lib/DevJava/README.md index 6675bebe8d..14a4ab6a0b 100644 --- a/lib/DevJava/README.md +++ b/lib/DevJava/README.md @@ -2,7 +2,7 @@ ## Gradle ```gradle -implementation 'io.github.afkt:DevJava:1.4.0' +implementation 'io.github.afkt:DevJava:1.4.1' ``` ## 目录结构 diff --git a/lib/DevWidget/README.md b/lib/DevWidget/README.md index 5bb0dbe06b..c9d003bed2 100644 --- a/lib/DevWidget/README.md +++ b/lib/DevWidget/README.md @@ -7,7 +7,7 @@ ```gradle // AndroidX -implementation 'io.github.afkt:DevWidgetX:1.1.4' +implementation 'io.github.afkt:DevWidgetX:1.1.5' ``` ## README diff --git a/lib/DevWidget/README_API.md b/lib/DevWidget/README_API.md index f35efa61ca..6d14b326a9 100644 --- a/lib/DevWidget/README_API.md +++ b/lib/DevWidget/README_API.md @@ -3,7 +3,7 @@ ```gradle // AndroidX -implementation 'io.github.afkt:DevWidgetX:1.1.4' +implementation 'io.github.afkt:DevWidgetX:1.1.5' ``` ## 目录结构 @@ -373,6 +373,8 @@ implementation 'io.github.afkt:DevWidgetX:1.1.4' | setRangeMultiple | 设置右边 Icon 触发范围倍数 | | isDrawRightIcon | 是否绘制右边 Icon | | setDrawRightIcon | 设置是否绘制右边 Icon | +| getRightClickListener | 获取右边 Icon 点击事件 | +| setRightClickListener | 设置右边 Icon 点击事件 | | getRightIcon | 获取右边 Icon Drawable | | setRightIcon | 设置右边 Icon Drawable | | setTextWatcher | 设置输入监听回调 | diff --git a/lib/DevWidget/src/main/java/dev/widget/function/RightIconEditText.java b/lib/DevWidget/src/main/java/dev/widget/function/RightIconEditText.java index 30979c2008..420ab70e9d 100644 --- a/lib/DevWidget/src/main/java/dev/widget/function/RightIconEditText.java +++ b/lib/DevWidget/src/main/java/dev/widget/function/RightIconEditText.java @@ -179,7 +179,7 @@ public RightIconEditText setDrawRightIcon(boolean drawRightIcon) { } /** - * 设置右边 Icon 点击事件 + * 获取右边 Icon 点击事件 * @return 右边 Icon 点击事件 */ public OnClickListener getRightClickListener() { diff --git a/lib/Environment/README.md b/lib/Environment/README.md index 01441daad4..c8e820620d 100644 --- a/lib/Environment/README.md +++ b/lib/Environment/README.md @@ -50,7 +50,7 @@ DevEnvironment 是一个 Android 环境配置切换库,运用 Java 注解、AP module | DevEnvironment | DevEnvironmentCompiler | DevEnvironmentCompilerRelease :---:|:---:|:---:|:---: -version | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.7-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.7-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.7-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) +version | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.8-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.8-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.8-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) ### Gradle @@ -58,18 +58,18 @@ version | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.7-brightgreen. ```groovy dependencies { // Java - implementation 'io.github.afkt:DevEnvironment:1.0.7' - debugAnnotationProcessor 'io.github.afkt:DevEnvironmentCompiler:1.0.7' - releaseAnnotationProcessor 'io.github.afkt:DevEnvironmentCompilerRelease:1.0.7' + implementation 'io.github.afkt:DevEnvironment:1.0.8' + debugAnnotationProcessor 'io.github.afkt:DevEnvironmentCompiler:1.0.8' + releaseAnnotationProcessor 'io.github.afkt:DevEnvironmentCompilerRelease:1.0.8' // 如果需要 Release 包,支持通过后台数据动态设置配置信息 则使用 debug compiler lib - // annotationProcessor 'io.github.afkt:DevEnvironmentCompiler:1.0.7' + // annotationProcessor 'io.github.afkt:DevEnvironmentCompiler:1.0.8' // Kotlin - implementation 'io.github.afkt:DevEnvironment:1.0.7' - kaptDebug 'io.github.afkt:DevEnvironmentCompiler:1.0.7' - kaptRelease 'io.github.afkt:DevEnvironmentCompilerRelease:1.0.7' + implementation 'io.github.afkt:DevEnvironment:1.0.8' + kaptDebug 'io.github.afkt:DevEnvironmentCompiler:1.0.8' + kaptRelease 'io.github.afkt:DevEnvironmentCompilerRelease:1.0.8' // 如果需要 Release 包,支持通过后台数据动态设置配置信息 则使用 debug compiler lib - // kapt 'io.github.afkt:DevEnvironmentCompiler:1.0.7' + // kapt 'io.github.afkt:DevEnvironmentCompiler:1.0.8' } ``` diff --git a/lib/HttpCapture/README.md b/lib/HttpCapture/README.md index 1b87a7847b..b42bc150bd 100644 --- a/lib/HttpCapture/README.md +++ b/lib/HttpCapture/README.md @@ -14,15 +14,15 @@ module | DevHttpCapture | DevHttpCaptureCompiler | DevHttpCaptureCompilerRelease :---:|:---:|:---:|:---: -version | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.7-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.7-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.7-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) +version | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.8-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.8-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.8-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) ### Gradle ```groovy dependencies { - debugImplementation 'io.github.afkt:DevHttpCaptureCompiler:1.0.7' - releaseImplementation 'io.github.afkt:DevHttpCaptureCompilerRelease:1.0.7' + debugImplementation 'io.github.afkt:DevHttpCaptureCompiler:1.0.8' + releaseImplementation 'io.github.afkt:DevHttpCaptureCompilerRelease:1.0.8' } ```