Skip to content

Commit 5dcdfb1

Browse files
author
tff
committed
base on 2.8.0
1 parent a7dba56 commit 5dcdfb1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Android 版本升级库。
7676

7777
## 怎么使用
7878

79-
#### 在项目根目录的`build.gradle`文件中添加如下代码:
79+
#### 1.在项目根目录的`build.gradle`文件中添加如下代码:
8080
8181
```groovy
8282
allprojects {
@@ -86,18 +86,16 @@ Android 版本升级库。
8686
}
8787
}
8888
```
89-
90-
9189

92-
#### 添加项目依赖:
90+
#### 2.添加项目依赖:
9391
9492
```groovy
9593
dependencies {
9694
implementation 'com.github.ithomasoft:update:1.0.0'
9795
}
9896
```
9997
100-
#### 创建`DownloadManager`
98+
#### 3.创建`DownloadManager`
10199

102100
```java
103101
DownloadManager manager = DownloadManager.getInstance(this);

0 commit comments

Comments
 (0)