Comments (3)
Same issue here, whenever I switch between fragment the status return UNKNOWN. I think it because the integer that handle the request was trigger again when fragment respawn, so I make it as static in another class and load it using get and set. But it doesn't work -_-
from prdownloader.
did anyone solve this issue ?
from prdownloader.
Well, I know I'm late to the party but I solved the issue by moving downloader to the service and sending progress through LocalBroadcast. Solution is not ideal but it works, although seems like exiting the app will pause the download process, but switching fragments won't be a problem
Edit: Now I just use notification builder
from prdownloader.
Related Issues (20)
- how to change byte number for read from source?
- Sdk Version 30 and above not working
- totalBytes alwayas -1 when download HOT 1
- Is this abandoned/broken since SDK30? HOT 2
- error connection reset
- eroor
- Migrate to MavenCentral HOT 1
- Implementation not working anymore HOT 4
- Any plans to migrate to mavenCentral? HOT 1
- Not able to access OnDownloadListener Interface in kotlin HOT 1
- Trust anchor for certification path not found.
- Use custome Http client (OkHttpClient)
- Can it download hls streaming link HOT 1
- How can i access the downloadid in on progress or complete listener
- Failed to resolve: com.mindorks.android:prdownloader:0.5.0
- I have problems using PRDownloader for downloading files from "http:" addresses - Only from "https:" works HOT 2
- Image file corrupted after download.
- Error:com.downloader.Error@5e24dd6
- Dependency not getting resolved HOT 1
- Operation NOT Permitted HOT 1
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 prdownloader.