-
-
Save DivS-15/d21d45b32345b83d7806fb19104fe919 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@HiltAndroidApp | |
class ExampleApplication : Application(), Configuration.Provider { | |
@Inject lateinit var workerFactory: HiltWorkerFactory | |
override fun getWorkManagerConfiguration() = | |
Configuration.Builder() | |
.setWorkerFactory(workerFactory) | |
.build() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment