Created
September 15, 2019 16:10
-
-
Save magdamiu/b96b6111a10ab6d1a27df534e68dbbc6 to your computer and use it in GitHub Desktop.
Unique work chain
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
WorkManager.getInstance() | |
.beginUniqueWork(Constants.UNIQUE_NAME, ExistingWorkPolicy.REPLACE, task1) | |
.then(task2) | |
.then(task3) | |
.enqueue() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment