Skip to content

SpiralDevelopment/workmanager-examples

Repository files navigation

Learn Work Managers in Kotlin with examples

Learn in this order:

  1. Create Workers - Example of creating OneTime and PeriodicTime Workers
  2. Constrains - Learn how to include certain constraints for workers
  3. Pass Input Data - Learn how to pass input data to the workers on their start
  4. Unique Worker - Example of creating unique worker - the one that does not get duplicated
  5. Observe Workers - Learn how to observe the current status of the workers as they run
  6. Get Output Data - Example of getting an output data from workers after they finish
  7. Chaining Workers - See how you can chain several workers to run them in sequence
  8. Cancel Workers - Cancel the worker by its ID