Skip to content

Commit

Permalink
1.更新 README 发布 DevApp 1.8.0、DevJava 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ttt committed Oct 9, 2019
1 parent 6b12f73 commit dbb16c6
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[![Cocoapods](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)
[![Cocoapods](https://img.shields.io/badge/DevUtils-1.7.9-brightgreen.svg)](https://github.com/afkT/DevUtils)
[![Cocoapods](https://img.shields.io/badge/DevUtils-1.8.0-brightgreen.svg)](https://github.com/afkT/DevUtils)
[![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=14)
[![Cocoapods](https://img.shields.io/badge/utils-100+-ff69b4.svg)](https://github.com/afkT/DevUtils/blob/master/lib/DevApp/README.md)

Expand Down
8 changes: 4 additions & 4 deletions file/gradle/config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ ext {
// ===========

// 版本号
dev_app_versionCode : 179,
dev_app_versionCode : 180,
// 版本名
dev_app_versionName : '1.7.9',
dev_app_versionName : '1.8.0',

// 版本号
dev_assist_versionCode: 102,
// 版本名
dev_assist_versionName: '1.0.2',

// 版本号
dev_java_versionCode : 102,
dev_java_versionCode : 103,
// 版本名
dev_java_version : '1.0.2',
dev_java_version : '1.0.3',

// 版本号
dev_other_versionCode : 100,
Expand Down
12 changes: 12 additions & 0 deletions lib/DevApp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
Change Log
==========

Version 1.8.0 *(2019-10-09)*
----------------------------

* `[Update]` TextViewUtils#calcTextWidth 使用二分法优化处理

* `[Add]` TextViewUtils#calcTextLine、TextViewUtils#getPaint、TextViewUtils#getTextWidth

* `[Add]` DialogUtils#dismiss(DialogFragment)

* `[Add]` ViewUtils#inflate

* `[Add]` NumberUtils#getMultiple、getMultipleI、getMultipleD、getMultipleL、getMultipleF

Version 1.7.9 *(2019-09-19)*
----------------------------
Expand Down
11 changes: 9 additions & 2 deletions lib/DevApp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
## Gradle

```java
implementation 'com.afkt:DevApp:1.7.9'
implementation 'com.afkt:DevApp:1.8.0'

// AndroidX
implementation 'com.afkt:DevAppX:1.7.9'
implementation 'com.afkt:DevAppX:1.8.0'
```

## 目录结构
Expand Down Expand Up @@ -1333,12 +1333,14 @@ DevUtils.openDebug();
| setLineSpacingAndMultiplier | 设置文字行间距 ( 行高 )、行间距倍数 |
| setTextScaleX | 设置字体水平方向的缩放 |
| setIncludeFontPadding | 设置是否保留字体留白间隙区域 |
| getPaint | 获取 TextView Paint |
| getTextHeight | 获取字体高度 |
| getTextTopOffsetHeight | 获取字体顶部偏移高度 |
| getTextWidth | 计算字体宽度 |
| getCenterRectY | 获取画布中间居中位置 |
| reckonTextSize | 通过需要的高度, 计算字体大小 |
| calcTextWidth | 计算第几位超过宽度 |
| calcTextLine | 计算文本换行行数 |


* **Uri 工具类 ->** [UriUtils.java](https://github.com/afkT/DevUtils/blob/master/lib/DevApp/src/main/java/dev/utils/app/UriUtils.java)
Expand Down Expand Up @@ -2637,6 +2639,11 @@ DevUtils.openDebug();
| percentL2 | 计算百分比值 ( 可超出 100%) |
| percentF2 | 计算百分比值 ( 可超出 100%) |
| clamp | 返回的 value 介于 max、min 之间, 若 value 小于 min, 返回 min, 若大于 max, 返回 max |
| getMultiple | 获取倍数 ( 自动补 1) |
| getMultipleI | 获取倍数 |
| getMultipleD | 获取倍数 |
| getMultipleL | 获取倍数 |
| getMultipleF | 获取倍数 |
| numberToCHN | 数字转中文数值 |
| isNumber | 检验数字 |
| isNumberDecimal | 检验数字或包含小数点 |
Expand Down
5 changes: 5 additions & 0 deletions lib/DevJava/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Change Log
==========

Version 1.0.3 *(2019-10-09)*
----------------------------

* `[Add]` NumberUtils#getMultiple、getMultipleI、getMultipleD、getMultipleL、getMultipleF


Version 1.0.2 *(2019-09-19)*
----------------------------
Expand Down
7 changes: 6 additions & 1 deletion lib/DevJava/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Gradle

```java
implementation 'com.afkt:DevJava:1.0.2'
implementation 'com.afkt:DevJava:1.0.3'
```

## 目录结构
Expand Down Expand Up @@ -554,6 +554,11 @@ JCLogUtils.setPrint(new JCLogUtils.Print() {});
| percentL2 | 计算百分比值 ( 可超出 100%) |
| percentF2 | 计算百分比值 ( 可超出 100%) |
| clamp | 返回的 value 介于 max、min 之间, 若 value 小于 min, 返回 min, 若大于 max, 返回 max |
| getMultiple | 获取倍数 ( 自动补 1) |
| getMultipleI | 获取倍数 |
| getMultipleD | 获取倍数 |
| getMultipleL | 获取倍数 |
| getMultipleF | 获取倍数 |
| numberToCHN | 数字转中文数值 |
| isNumber | 检验数字 |
| isNumberDecimal | 检验数字或包含小数点 |
Expand Down

0 comments on commit dbb16c6

Please sign in to comment.