Reputation: 21
I need to download an mp3 file from a server, and I was wondering which was the best way to do it. What are the differences between downloading via Retrofit 2 and via the download manage? The file I want to download is a song which length can vary.
I know the retrofit library offers @Streaming annotations and async' downloads, so I was wondering which one should I use? Here is a link to the Retrofit download how to link
Tanks!
Upvotes: 2
Views: 1562
Reputation: 200
You can try this library https://github.com/lingochamp/FileDownloader Or if you prefer the reactive way : https://github.com/esafirm/RxDownloader
Upvotes: -1