You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, for more simpleness, okdownload core library doesn't run on the service, it's just an okdownload singleton (what is like OkHttpClient or Picasso provided), so there isn't startForeground now.
Then, if you want okdownload running in the service now because you want to get the benefit from foreground service, you just feel free to create a service and download resource with okdownload on it.
On More Thing
On the further version, we will implement a special DownloadDispatcher to implement okdownload running on the independent process, then you can enable it like okdownload:sqlite or okdownload:okhttp which has been said on here, and on that moment, I think we will provide such startForeground method again.
What is the equivalent function for FileDownloader.startForeground() function, i could not find any method equivalent to it in javadoc.
Moreover a lot of people are using FileDownloader, it will be a very good step to maintain a porting guide with equivalent functions.
The text was updated successfully, but these errors were encountered: