Skip to content

Instantly share code, notes, and snippets.

Last active May 10, 2018
What would you like to do?
internal class HardWorker : Worker() {
override fun doWork(): Worker.WorkerResult {
return Worker.WorkerResult.SUCCESS // or FAILURE, or RETRY if you want to run again
fun hardWorkerRunner() {
val hardWork = OneTimeWorkRequest.Builder(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment