To download files and to avoid using DOWNLOAD_WITHOUT_NOTIFICATION permission if you are using Android's DownloadManager in your apps.
783
stars
185
forks
source link
Extract some variables into the DownloadResponse & Fix some issues fo… #114
Open
Locke93 opened 6 years ago
Refactor code: extract some variables into the download response `
Fixed some issues for resumable download feature
request.isResumable()
is falseaccessFile.seek
shouldn't seek tocacheSize
whenrequest.isResumable()
is false