How to use work request chaining on Periodic Work Request in work Manager in kotlin
I have three work request as below
val imageWorker = OneTimeWorkRequestBuilder()
.setConstraints(constraints)
.addTag("imageWork")
.build()
val gpSurveyWorker = OneTimeWorkRequestBuilder()
.setConstraints(constraints)
.addTag("gpSurveyWork")
.build()
val gpSurveyListWorker = OneTimeWorkRequestBuilder()
.setConstraints(constraints)
.addTag("gpSurveyList")
.build()
and I...