Skip to content

Commit

Permalink
1.更新 DevApp、DevWidget API README、Version
Browse files Browse the repository at this point in the history
Former-commit-id: 11b6ced
Former-commit-id: e60d7a5
  • Loading branch information
Ttt committed Jun 7, 2020
1 parent 8e654ee commit f92879b
Show file tree
Hide file tree
Showing 8 changed files with 94 additions and 14 deletions.
6 changes: 3 additions & 3 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)
[![Bintray](https://img.shields.io/badge/DevUtils-1.9.4-brightgreen.svg)](https://bintray.com/afkt/maven/DevAppX)
[![Bintray](https://img.shields.io/badge/DevUtils-1.9.5-brightgreen.svg)](https://bintray.com/afkt/maven/DevAppX)
[![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-160+-ff69b4.svg)](https://github.com/afkT/DevUtils/blob/master/lib/DevApp/README.md)

Expand Down Expand Up @@ -59,7 +59,7 @@
```java

// DevApp Android 工具类库 https://github.com/afkT/DevUtils/blob/master/lib/DevApp/README.md
implementation 'com.afkt:DevAppX:1.9.4' // AndroidX
implementation 'com.afkt:DevAppX:1.9.5' // AndroidX

// DevJava Java 工具类库 ( 不依赖 android api ) https://github.com/afkT/DevUtils/blob/master/lib/DevJava/README.md
implementation 'com.afkt:DevJava:1.1.2' // 用于纯 Java 开发,如果依赖了 DevApp 则不需要依赖 DevJava
Expand All @@ -74,7 +74,7 @@ releaseAnnotationProcessor 'com.afkt:DevEnvironmentCompilerRelease:1.0.0'
//annotationProcessor 'com.afkt:DevEnvironmentCompiler:1.0.0'

// DevWidget 自定义 View UI 库 https://github.com/afkT/DevUtils/blob/master/lib/Widget/DevWidget
implementation 'com.afkt:DevWidgetX:1.0.1' // AndroidX
implementation 'com.afkt:DevWidgetX:1.0.2' // AndroidX
```

## License
Expand Down
10 changes: 4 additions & 6 deletions file/gradle/config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ ext {
// ===========

// 版本号
dev_app_versionCode : 194,
dev_app_versionCode : 195,
// 版本名
dev_app_versionName : '1.9.4',
dev_app_versionName : '1.9.5',

// 版本号
dev_assist_versionCode : 103,
Expand All @@ -53,9 +53,9 @@ ext {
dev_java_version : '1.1.2',

// 版本号
dev_widget_versionCode : 101,
dev_widget_versionCode : 102,
// 版本名
dev_widget_versionName : '1.0.1',
dev_widget_versionName : '1.0.2',

// 版本号
dev_environment_versionCode : 100,
Expand All @@ -69,11 +69,9 @@ ext {
deps = [
'dev' : [
// https://github.com/afkT/DevUtils
dev_app : "com.afkt:DevApp:${versions.dev_app_versionName}",
dev_app_x : "com.afkt:DevAppX:${versions.dev_app_versionName}",
dev_assist : "com.afkt:DevAssist:${versions.dev_assist_versionName}",
dev_java : "com.afkt:DevJava:${versions.dev_java_version}",
dev_widget : "com.afkt:DevWidget:${versions.dev_widget_versionName}",
dev_widget_x : "com.afkt:DevWidgetX:${versions.dev_widget_versionName}",
// 环境配置切换库
dev_environment : "com.afkt:DevEnvironment:${versions.dev_environment_version}",
Expand Down
7 changes: 7 additions & 0 deletions lib/DevApp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Change Log
==========

Version 1.9.5 *(2020-06-08)*
----------------------------

* `[Update]` PermissionUtils#isGranted

* `[Add]` ResourceUtils#getDimensionInt

Version 1.9.4 *(2020-05-18)*
----------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/DevApp/README.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3702f0cdad3fe01416afcdaf4316bcb9a87b5e3a
351e806a45201567d487af4d2338d5c31fcee535
9 changes: 9 additions & 0 deletions lib/DevOther/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@
| preload | 预加载图片 |
| displayImage | 图片显示 |
| displayImageToGif | 图片显示 |
| displayImageToDrawable | 图片显示 |
| displayImageToFile | 图片显示 |
| loadImageBitmap | 图片加载 |
| loadImageDrawable | 图片加载 |
| loadImageFile | 图片加载 |
Expand Down Expand Up @@ -343,6 +345,13 @@
## <span id="devotherokgo">**`dev.other.okgo`**</span>


* **OkHttp 打印日志拦截器 ->** [HttpLoggingInterceptor.java](https://github.com/afkT/DevUtils/blob/master/lib/DevOther/src/main/java/dev/other/okgo/HttpLoggingInterceptor.java)

| 方法 | 注释 |
| :- | :- |
| intercept | intercept |


* **OkGo 请求统一回调处理类 ->** [OkGoCallback.java](https://github.com/afkT/DevUtils/blob/master/lib/DevOther/src/main/java/dev/other/okgo/OkGoCallback.java)

| 方法 | 注释 |
Expand Down
7 changes: 7 additions & 0 deletions lib/Widget/DevWidget/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Change Log
==========

Version 1.0.2 *(2020-06-08)*
----------------------------

* `[Add]` ViewAssist

* `[Add]` StateLayout

Version 1.0.1 *(2020-05-18)*
----------------------------

Expand Down
4 changes: 2 additions & 2 deletions lib/Widget/DevWidget/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

```java
// AndroidX
implementation 'com.afkt:DevAppX:1.9.4'
implementation 'com.afkt:DevWidgetX:1.0.1'
implementation 'com.afkt:DevAppX:1.9.5'
implementation 'com.afkt:DevWidgetX:1.0.2'
```

## README
Expand Down
63 changes: 61 additions & 2 deletions lib/Widget/DevWidget/README_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

```java
// AndroidX
implementation 'com.afkt:DevAppX:1.9.4'
implementation 'com.afkt:DevWidgetX:1.0.1'
implementation 'com.afkt:DevAppX:1.9.5'
implementation 'com.afkt:DevWidgetX:1.0.2'
```

## 目录结构
Expand All @@ -13,6 +13,7 @@ implementation 'com.afkt:DevWidgetX:1.0.1'
- dev | 根目录
- widget | 自定义 View 根目录
- adjust | 自动调节高度 View
- assist | View 辅助类
- custom | 自定义 View
- function | 需求功能 View
- ui | UI View
Expand All @@ -36,6 +37,7 @@ implementation 'com.afkt:DevWidgetX:1.0.1'
- dev | 根目录
- [widget](#devwidget) | 自定义 View 根目录
- [adjust](#devwidgetadjust) | 自动调节高度 View
- [assist](#devwidgetassist) | View 辅助类
- [custom](#devwidgetcustom) | 自定义 View
- [function](#devwidgetfunction) | 需求功能 View
- [ui](#devwidgetui) | UI View
Expand Down Expand Up @@ -80,6 +82,37 @@ implementation 'com.afkt:DevWidgetX:1.0.1'
| onMeasure | onMeasure |


## <span id="devwidgetassist">**`dev.widget.assist`**</span>


* **View 填充辅助类 ->** [ViewAssist.java](https://github.com/afkT/DevUtils/blob/master/lib/Widget/DevWidget/src/main/java/dev/widget/assist/ViewAssist.java)

| 方法 | 注释 |
| :- | :- |
| wrap | 传入包裹 View |
| showIng | showIng |
| showFailed | showFailed |
| showSuccess | showSuccess |
| showEmptyData | showEmptyData |
| showType | 显示 Type Adapter View |
| notifyDataSetChanged | notifyDataSetChanged |
| gone | gone |
| visible | visible |
| register | 注册 type |
| unregister | 取消注册 type |
| reset | 重置处理 |
| getWrapper | getWrapper |
| getTag | getTag |
| setTag | setTag |
| getData | getData |
| setData | setData |
| getAdapter | getAdapter |
| getView | getView |
| getCurrentType | getCurrentType |
| getCurrentView | getCurrentView |
| setListener | setListener |


## <span id="devwidgetcustom">**`dev.widget.custom`**</span>


Expand Down Expand Up @@ -269,6 +302,32 @@ implementation 'com.afkt:DevWidgetX:1.0.1'
| setDrawCallBack | 设置绘制回调事件 |


* **状态布局 ->** [StateLayout.java](https://github.com/afkT/DevUtils/blob/master/lib/Widget/DevWidget/src/main/java/dev/widget/function/StateLayout.java)

| 方法 | 注释 |
| :- | :- |
| reset | 重置处理 |
| setGlobal | setGlobal |
| setListener | setListener |
| showIng | showIng |
| showFailed | showFailed |
| showSuccess | showSuccess |
| showEmptyData | showEmptyData |
| showType | showType |
| notifyDataSetChanged | notifyDataSetChanged |
| gone | gone |
| visible | visible |
| register | 注册 type |
| unregister | 取消注册 type |
| getTag | getTag |
| setTag | setTag |
| getData | getData |
| setData | setData |
| getView | getView |
| getCurrentType | getCurrentType |
| getCurrentView | getCurrentView |


## <span id="devwidgetui">**`dev.widget.ui`**</span>


Expand Down

0 comments on commit f92879b

Please sign in to comment.