SIARAY / DownloadManagerPlus

Using faster and easier than Android Download Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setting listener

ayodelekehinde opened this issue · comments

I want to be able to queue download from and activity and retrieve download lists in another.
But I need to set downloadlistener from the download activity. Any help??

I want to be able to queue download from and activity and retrieve download lists in another.
But I need to set downloadlistener from the download activity. Any help??

I didn't understand your question correctly. Can you explain more?

In your example, your starting the download in the list view. But my case scenario is, for example chrome browser, when u click to download a file it starts the download, so when you click downloads, you'll see the list of downloading actions with live progress. But with your lib, its difficult, because I can't listen from my dynamic recyclerview because I have started download in a different activity.
Visual representation:
I start download here:
I start download here:

I get list of downloads here:
I get list of downloads here:

But my progressbar doesn't update until I recreate activity because of no listener.
Pls what can I do

Fixed it. Thanks

hello,

can you provide my the code to make it queue download for many files or set the maximum number of concurrent workers

kind regards