I try to understand the pros and cons of different ways to download a file using an android app.
I found several ways:
- Managing the download on my own (see this code snippet)
- Using Android's DownloadManager
- Downloading a file using OKHttp as described in this post
Does anyone with experience in the subject can tell me reasons for choosing one way over the other?