Android DownloadManager Cancel Button
I've implemented a AsyncTask to download .pdf files to the storage. I was able to create a custom notification and I added a button to cancel that download.
However, now I have to use Android's own DownloadManager to handle the job. When I start download, it creates a notification showing the progress but I couldn't customize the notification to add a cancel button and run remove(long) for it's onClick()
Since Google's apps uses downloadManager to download stuff and it has a button to cancel the download, there must be way to achieve.