Skip to content

Instantly share code, notes, and snippets.

@parahall
Created May 7, 2018 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parahall/5f68bf9a55d6b42a9f66b9b0413b80f7 to your computer and use it in GitHub Desktop.
Save parahall/5f68bf9a55d6b42a9f66b9b0413b80f7 to your computer and use it in GitHub Desktop.
WorkManager.getInstance(this)
.beginWith(Work.from(LocationWork.class))
.then(Work.from(LocationUploadWorker.class))
.enqueue();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment