App demo that uses WorkManager API to download and schedule PDFs in the background

Download PDF

You can either download custom pdf files by placing your preferable pdf file url in the text field or download predefined url by clicking on test.

Download Process

Starting Running Finished


You can inspect your downloaded files from the menu item in the home screen .

Inspect View Share

Key notes:

  • Downloading requires internet connection, if any download request happens when offline, then WorkManager will schedule them to run when any connection is found even when the app is dead.
  • By cancelling the download from the notification label; you first cancel the background work, and it require you again to cancel the notification by clicking again.


View Github