Skip to content

Instantly share code, notes, and snippets.

@magdamiu
Last active May 14, 2021 19:17
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
WorkManager - available functions
// 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