DLManager
class DLManager
By using DLManager, you can create a download task.
downloadTask = DLManager
.createConfig()
.setDownloadUrl(downloadUrl)
.setSaveDir(FileMgr.appInternalFilesDir().path)
.setListener {
onDownloading = {
.. //Do something
}
onFailure = {
.. //Do something
}
onSuccess = {
.. //Do something
}
}
.build()
Content copied to clipboard
Since
0.5.2