https://kotlinlang.org logo
Title
u

ubu

02/29/2020, 4:32 PM
Hi guys, in your opinion, what would be the best way to download files on Android in 2020?
Ktor
client,
Retrofit
or
DownloadManager
API? Or maybe something else.
d

Dustin Lam

02/29/2020, 5:37 PM
+1 for retrofit
a

Anastasia Finogenova

02/29/2020, 5:54 PM
I am pretty happy with retrofit
r

rkeazor

03/01/2020, 2:05 AM
Retrofit. Ktor if multiplatform
g

gouravkundu

03/01/2020, 5:20 AM
If your you don’t want to cancel the call if user close the app then go for
DownloadManager
else go for
Retrofit
v

Vsevolod Kaganovych

03/01/2020, 8:32 AM
DownloadManager. Has a lot of neat configurations like internet connection and resuming downloading, if you don’t want to handle it by yourself.