-
Notifications
You must be signed in to change notification settings - Fork 29
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
how to auto resume download and show custom notification? #2
Comments
1.You can get downloadTask list at start of Activity,and resume download; |
Thanks for your response. In your sample; you are initiating and starting your whole download list in main activity before opening download list activity and your download list is providing from your download service, How can I initiate an start a download from a typical list item not list provided from the download service? |
Download need url and filePath, and you can get them from downloadInfo,then you can start a download task.looks like this:
By the way, threadNum should be same as last download,otherwise the download will start all over again. |
Thanks, but my list is providing from the server side and I don't have any download info at first, I don't know how I can manage that. |
Download server list first and build a download list by listening download progress. |
I have found this library newly. It's really perfect but I have just two problems:
The text was updated successfully, but these errors were encountered: