smanikandan14 / ThinDownloadManager

To download files and to avoid using DOWNLOAD_WITHOUT_NOTIFICATION permission if you are using Android's DownloadManager in your apps.
Apache License 2.0
783 stars 186 forks source link

notify after all download has finished. #77

Closed MrThiago closed 8 years ago

MrThiago commented 8 years ago

Is there a way to notify the user when all the download has finished after press Start All ? thanks

erginduran commented 8 years ago

there is already a lisstener in lbirary. void onDownloadComplete (int id); you can check your all downloads in this method and if done,notify it.

smanikandan14 commented 8 years ago

Thanks @erginduran. @MrThiago Thats the way to achieve what you wanted. You can keep a track of list of downloads you initiated and check if everything is completed when you receive onDownloadComplete method.