See the English Doc for English readme.
Pump是一个快速,易用的android下载库,支持多任务,多线程和断点下载,同时使用了Http缓存机制来避免不必要的下载,让下载更加智能。 点击查看更多信息。
App模块的build.gradle:
dependencies {
implementation'com.huxq17.pump:download:1.3.10'
implementation 'com.squareup.okhttp3:okhttp:lastversion'
}
下载单个任务 | 下载多个任务 |
---|---|
-keep class com.huxq17.download.** { *; }
-dontwarn okhttp3.**
-dontwarn okio.**
邮箱:huxq17@163.com
Copyright (C) 2020 huxq17
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License