Comments (3)
receiveDownloadStatus这个方法在任何时刻调用均可接受到下载状态,不知道你有没有仔细看文档和demo
from rxdownload.
如果所有类似场景都自己去判断,那代码必然变得很臃肿。
我上面有解释,虽然可以实现功能,但判断逻辑需要每次调用download()前判断。或者只是让download()去触发下载,receiveDownloadStatus()才作为下载完成后的监听。
而且,目前对于常规下载
(Normal download
),并没有提供方法接收下载状态。
题外话:是否需要在框架内提供 同一个url,保存到多个目标File
的处理?
from rxdownload.
如果你觉得这些都不是问题,sorry,你可以直接关掉这个issues
from rxdownload.
Related Issues (20)
- Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. HOT 2
- Provide better Error messages
- 下载异常stream was reset: PROTOCOL_ERROR HOT 1
- How to sort list by it's download time? HOT 1
- How to delete single item from recorder database ?
- 大佬什么时候能升级rxjava3.0 HOT 1
- download keep suspending on download multiple files. HOT 1
- 配置文件都是同一个URL,所以每次不管有没有更新都识别为同一个文件,有办法关闭这个缓存吗? HOT 3
- 有时候会出现:FATAL EXCEPTION: RxCachedThreadScheduler-3 HOT 3
- Downloading files bigger than 15 mb doesn't seem to work on lower-end devices HOT 3
- UndeliverableException due to SocketException when cancel the download
- how to restart a download task with the same url after delete it
- It always timeout when I download AWS CDN resources with RxDownload4 HOT 4
- how to change request in rxdownload HOT 2
- download a large file with slow internet connection (for example GPRS) returns TimeoutException HOT 2
- 频繁点击清空缓存、下载出现崩溃,报错Fatal signal 7 (SIGBUS), code 2 (BUS_ADRERR) HOT 2
- 最大下载数限制设置未生效? HOT 7
- 删除后没有删除记录
- rxjava java.io.IOException: File name too long HOT 2
- 请问怎么修改 才能支持https 请求 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rxdownload.