Skip to content

Instantly share code, notes, and snippets.

@DivS-15
Created Jul 13, 2022
Embed
What would you like to do?
@HiltAndroidApp
class BlurApplication : Application(), Configuration.Provider{
@Inject
lateinit var workerFactory: HiltWorkerFactory
override fun getWorkManagerConfiguration(): Configuration {
return Configuration.Builder().setWorkerFactory(workerFactory).build()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment