-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getSoFar and getTotal not work correctly #579
Comments
That is a feature, not Bug.
Because of the data of Task is persist on the databse and the database only can access on the FileDownloadService, so If you want It is too inconvenient, How to optimize?Following method is used for such case:
|
Thanks for your reply , but how can I run service without start downloading a file ? |
Following method is just what you want(
|
getTotal and getSoFar methods not work until at least one download created .
when I firstly open app in Fragment 1 I log getTotal for an id and it returns 0 . after i go somewhere for example Fragment 2 and create a download and came back to Fragment 1 its work and show me true size
should I set any setting to enable it or it is a bug ?
The text was updated successfully, but these errors were encountered: