Skip to content

Commit

Permalink
1.更新 Dev 系列库 API 文档
Browse files Browse the repository at this point in the history
Former-commit-id: 7db58ee
  • Loading branch information
afkT committed Jan 23, 2022
1 parent 34ab930 commit 4557f40
Show file tree
Hide file tree
Showing 13 changed files with 51 additions and 38 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/DevApp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
```

## 目录结构
Expand Down
15 changes: 13 additions & 2 deletions lib/DevAssist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Gradle

```gradle
implementation 'io.github.afkt:DevAssist:1.3.1'
implementation 'io.github.afkt:DevAssist:1.3.2'
```

## 目录结构
Expand Down Expand Up @@ -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)

| 方法 | 注释 |
| :- | :- |
Expand All @@ -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 | 创建存储值 |


## <span id="devbasedata">**`dev.base.data`**</span>


Expand Down
2 changes: 1 addition & 1 deletion lib/DevBase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Gradle

```gradle
implementation 'io.github.afkt:DevBase:1.0.9'
implementation 'io.github.afkt:DevBase:1.1.0'
```

## 目录结构
Expand Down
2 changes: 1 addition & 1 deletion lib/DevBaseMVVM/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Gradle

```gradle
implementation 'io.github.afkt:DevBaseMVVM:1.0.7'
implementation 'io.github.afkt:DevBaseMVVM:1.0.8'
```

## 目录结构
Expand Down
2 changes: 1 addition & 1 deletion lib/DevEngine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Gradle

```gradle
implementation 'io.github.afkt:DevEngine:1.0.3'
implementation 'io.github.afkt:DevEngine:1.0.4'
```

## 目录结构
Expand Down
2 changes: 1 addition & 1 deletion lib/DevHttpCapture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Gradle

```gradle
implementation 'io.github.afkt:DevHttpCapture:1.0.7'
implementation 'io.github.afkt:DevHttpCapture:1.0.8'
```

## 目录结构
Expand Down
2 changes: 1 addition & 1 deletion lib/DevJava/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Gradle

```gradle
implementation 'io.github.afkt:DevJava:1.4.0'
implementation 'io.github.afkt:DevJava:1.4.1'
```

## 目录结构
Expand Down
2 changes: 1 addition & 1 deletion lib/DevWidget/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

```gradle
// AndroidX
implementation 'io.github.afkt:DevWidgetX:1.1.4'
implementation 'io.github.afkt:DevWidgetX:1.1.5'
```

## README
Expand Down
4 changes: 3 additions & 1 deletion lib/DevWidget/README_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

```gradle
// AndroidX
implementation 'io.github.afkt:DevWidgetX:1.1.4'
implementation 'io.github.afkt:DevWidgetX:1.1.5'
```

## 目录结构
Expand Down Expand Up @@ -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 | 设置输入监听回调 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public RightIconEditText setDrawRightIcon(boolean drawRightIcon) {
}

/**
* 设置右边 Icon 点击事件
* 获取右边 Icon 点击事件
* @return 右边 Icon 点击事件
*/
public OnClickListener getRightClickListener() {
Expand Down
18 changes: 9 additions & 9 deletions lib/Environment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,26 +50,26 @@ 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

```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'
}
```

Expand Down
6 changes: 3 additions & 3 deletions lib/HttpCapture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
```

Expand Down

0 comments on commit 4557f40

Please sign in to comment.