Skip to content

Instantly share code, notes, and snippets.

@DivS-15
Created July 13, 2022 18:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DivS-15/64d3b23c7bf9d722e6d2d819f0e93a13 to your computer and use it in GitHub Desktop.
Save DivS-15/64d3b23c7bf9d722e6d2d819f0e93a13 to your computer and use it in GitHub Desktop.
@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