Last active
May 14, 2021 19:17
-
-
Save magdamiu/5129d4d9d8d8702b3bf1f9dc2b33eecc to your computer and use it in GitHub Desktop.
WorkManager - available functions
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
// running work | |
WorkManager.getInstance(context).enqueue(syncOnlyOnce) | |
// cancelling work | |
WorkManager.getInstance(context).cancelAllWork() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment