Created
March 31, 2020 18:37
-
-
Save pfmaggi/b44e938e98c163c0d93b256fbc98ece2 to your computer and use it in GitHub Desktop.
Code for the Medium article: "Customizing WorkManager"
This file contains hidden or 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
/* Copyright 2019 Google LLC. | |
SPDX-License-Identifier: Apache-2.0 */ | |
@Inject lateinit var workerConfiguration: Configuration | |
// Setup custom configuration for WorkManager with a DelegatingWorkerFactory | |
override fun getWorkManagerConfiguration(): Configuration { | |
return workerConfiguration | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment