File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
1
# Change log
2
2
3
+ ### Version 0.1.1
4
+
5
+ - event线程区分敏捷线程池与其他线程池,减少资源冗余强制、内部稳定性以及消化能力与性能,
6
+ - 添加自动重试接口,新增用户指定如果失败自动重试的次数
7
+
3
8
### Version 0.1.0
4
9
5
10
- FileDownloadStatus 由` int ` 改为` byte ` ,该参数会频繁的在IPC时被拷贝
Original file line number Diff line number Diff line change @@ -48,15 +48,12 @@ Android 文件下载引擎,稳定、高效、简单易用
48
48
在项目中引用:
49
49
50
50
```
51
- compile 'com.liulishuo.filedownloader:library:0.1.0 '
51
+ compile 'com.liulishuo.filedownloader:library:0.1.1 '
52
52
```
53
53
54
- > 假如发现IDE没有自动绑定源码到拉下来的` .class ` ,请下载[ library-0.1.0-sources.jar] [ library_last_source_jar ] ,然后主动` Choose Sources... ` 进行绑定,这样方便阅读与debug。有任何问题,提issue即可。
55
-
56
54
#### 全局初始化在` Application.onCreate ` 中
57
55
58
56
```
59
-
60
57
public XXApplication extends Application{
61
58
62
59
...
@@ -68,13 +65,11 @@ public XXApplication extends Application{
68
65
69
66
...
70
67
}
71
-
72
68
```
73
69
74
70
#### 启动单任务下载
75
71
76
72
```
77
-
78
73
FileDownloader.getImpl().create(url)
79
74
.setPath(path)
80
75
.setListener(new FileDownloadListener() {
@@ -119,7 +114,6 @@ FileDownloader.getImpl().create(url)
119
114
#### 启动多任务下载
120
115
121
116
```
122
-
123
117
final FileDownloadListener queueTarget = new FileDownloadListener() {
124
118
@Override
125
119
protected void pending(BaseDownloadTask task, int soFarBytes, int totalBytes) {
@@ -287,4 +281,3 @@ limitations under the License.
287
281
[ single_gif ] : https://github.com/lingochamp/FileDownloader/raw/master/art/single.gif
288
282
[ bintray_svg ] : https://api.bintray.com/packages/jacksgong/maven/FileDownloader/images/download.svg
289
283
[ bintray_url ] : https://bintray.com/jacksgong/maven/FileDownloader/_latestVersion
290
- [ library_last_source_jar ] : https://bintray.com/artifact/download/jacksgong/maven/com/liulishuo/filedownloader/library/0.1.0/library-0.1.0-sources.jar
Original file line number Diff line number Diff line change 1
- VERSION_NAME =0.1.0
2
- VERSION_CODE =3
1
+ VERSION_NAME =0.1.1
2
+ VERSION_CODE =4
3
3
BUILD_TOOLS_VERSION =23.0.1
4
4
COMPILE_SDK_VERSION =23
5
5
You can’t perform that action at this time.
0 commit comments