Skip to content

Commit

Permalink
1.更新部分 README.md
Browse files Browse the repository at this point in the history
Former-commit-id: fe56d61
  • Loading branch information
afkT committed Dec 5, 2021
1 parent e95a60f commit 188c719
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 17 deletions.
4 changes: 3 additions & 1 deletion lib/DevApp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ implementation 'io.github.afkt:DevAppX:2.3.0'
```


## 使用
## 初始化

> ##### ~~只需要在 Application 中调用 `DevUtils.init()` 进行初始化~~ , 在 DevUtils FileProviderDevApp 中已初始化 , 无需主动调用
> 视情况决定是否主动调用 `DevUtils.init()` 方法 ( 可自行查询理解 FileProvider onCreate() 方法什么时候被调用及 Application 初始化顺序 )
## 事项

- 部分 API 更新不及时或有遗漏等,`具体以对应的工具类为准`
Expand Down
2 changes: 1 addition & 1 deletion lib/DevApp/utils_readme/cache/DevCache.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
| isJSONObject | isJSONObject |
| isJSONArray | isJSONArray |

#### 使用方法
#### 使用示例
```java
// 初始化
CacheVo cacheVo = new CacheVo("测试持久化");
Expand Down
2 changes: 1 addition & 1 deletion lib/DevApp/utils_readme/media/DevMediaManager.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
| getPlayPercent | 获取播放进度百分比 |


#### 使用方法
#### 使用示例
```java
// 设置 TAG, 打印日志使用
DevMediaManager.getInstance().setTAG(TAG);
Expand Down
2 changes: 1 addition & 1 deletion lib/DevApp/utils_readme/share/SharedUtils.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
| getString | 获取 String 类型的数据 |
| getSet | 获取 Set 类型的数据 |

#### 使用方法
#### 使用示例
```java
// 具体实现方法 基于 PreferenceImpl 实现

Expand Down
2 changes: 1 addition & 1 deletion lib/DevApp/utils_readme/snackbar/SnackbarUtils.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@


### 使用方法
### 使用示例
```java
// ==========================================
// = 只能通过以下四种方式 获取 SnackbarUtils 对象 =
Expand Down
2 changes: 1 addition & 1 deletion lib/DevApp/utils_readme/thread/DevThreadManager.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
| scheduleWithFixedRate | 延迟并循环执行命令 |
| scheduleWithFixedDelay | 延迟并以固定休息时间循环执行命令 |

#### 使用方法
#### 使用示例
```java
Runnable runnable = new Runnable() {
@Override
Expand Down
2 changes: 1 addition & 1 deletion lib/DevApp/utils_readme/timer/TimerManager.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
| closeAllUUID | 关闭所有对应 UUID 定时器 |


#### 使用方法
#### 使用示例
```java
DevTimer timer = new DevTimer.Builder(1500L)
.setDelay(100L) // 延迟时间 ( 多少毫秒后开始执行 )
Expand Down
2 changes: 1 addition & 1 deletion lib/DevApp/utils_readme/toast/DevToast.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ DevToast.reset();
```


#### 使用方法
#### 使用示例
```java
// 显示 Toast
DevToast.show(view);
Expand Down
2 changes: 1 addition & 1 deletion lib/DevApp/utils_readme/toast/ToastTintUtils.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ ToastTintUtils.reset();
```


#### 使用方法
#### 使用示例
```java
// 显示 Success 样式 Toast
ToastTintUtils.success("Success Style Toast");
Expand Down
2 changes: 1 addition & 1 deletion lib/DevApp/utils_readme/wifi/WifiHotUtils.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
| onStopped | 关闭热点回调 |
| onFailed | 失败回调 |

#### 使用方法
#### 使用示例
```java
// 所需权限
// <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
Expand Down
2 changes: 1 addition & 1 deletion lib/DevEngine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ DevEngine(基于 [DevAssist Engine 模块](https://github.com/afkT/DevUtils/bl
实现 [DevMediaStoreEngineImpl](https://github.com/afkT/DevUtils/blob/master/lib/DevEngine/src/main/java/dev/engine/storage/engine_dev_media_store.kt)


## 使用
## 使用示例

```kotlin
/**
Expand Down
2 changes: 1 addition & 1 deletion lib/DevHttpCapture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ implementation 'io.github.afkt:DevHttpCapture:1.0.4'
```


## 使用
## 功能介绍

> 该库主要对使用 Okhttp 网络请求库的项目,提供 Http 抓包功能,并支持抓包数据加密存储。
>
Expand Down
8 changes: 4 additions & 4 deletions lib/Environment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module | DevEnvironment | DevEnvironmentCompiler | DevEnvironmentCompilerRelease
version | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.5-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.5-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt) | [![MavenCentral](https://img.shields.io/badge/Maven-1.0.5-brightgreen.svg)](https://search.maven.org/search?q=io.github.afkt)


### 使用方法
### Gradle

```groovy
dependencies {
Expand Down Expand Up @@ -320,11 +320,11 @@ EnvironmentBean imEnvironment = DevEnvironment.getIMEnvironment(mContext);
同 Butterknife、Greendao 等第三方库,通过编译时注解 ( APT 技术 ) 实现,具体可参考该库实现代码及 [link.mk](https://github.com/afkT/DevUtils/blob/master/lib/Environment/link.md) 技术链接


### 使用示例参考
### 示例参考

DevEnvironment 文件生成配置:[HttpConstants](https://github.com/afkT/DevUtils/blob/master/app/src/main/java/afkt/project/base/constants/http/HttpConstants.java)
DevEnvironment 文件生成配置:[HttpConstants](https://github.com/afkT/DevUtils/blob/master/app/src/main/java/afkt/project/base/constants/http/HttpConstants.kt)

DevEnvironment 使用:[DevEnvironmentLibActivity](https://github.com/afkT/DevUtils/blob/master/app/src/main/java/afkt/project/ui/activity/DevEnvironmentLibActivity.java)
DevEnvironment 使用:[DevEnvironmentLibActivity](https://github.com/afkT/DevUtils/blob/master/app/src/main/java/afkt/project/ui/activity/DevEnvironmentLibActivity.kt)

> 点击菜单栏中的 “Build” -> “Rebuild Project”,等待编译完成
Expand Down
2 changes: 1 addition & 1 deletion lib/HttpCapture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
```


### 使用方法
### 使用示例

```java
// 显示所有 Module 抓包数据
Expand Down

0 comments on commit 188c719

Please sign in to comment.