Android | Android Architecture Component | Android WorkManager | Java | Kotlin | Work Manager | Work runtime-ktx
Setting Input Data And Output Data With WorkManager
When working with WorkManager you may need to pass the argument for your task and also need some result to return. To pass the arguments to a task you need to setInputData to when creating the WorkRequest object. The input data method takes a Data object. Note: By the way, I wrote a pretty good…