I am stuck at a problem where I want to download multiple images from the web (I have a list of URLs) using Work Manager. As I am downloading those files, I need to update a progressbar on the UI and also maintain a notification in status bar.
I have managed to update the notification but cannot get my head around communicating with the UI.
I have tried using EventBus and LocalBroadcasts, but they are old methods. I believe Work Manager would also have a solution for this.
If anyone has any clue, please let me know how to go about it.