Workmanager - devrath/DroidAndroidJetpack Wiki

Contents
Definition
Work manager as an assistant
Work manager's Arsenal
When to and when not to use work manager
Main classes of manager
Types of work manager requests
Having the unique work manager instance
Cancel the work manager

Definition

Work manager as an assistant

Work manager's Arsenal

When to and when not to use work manager

Main classes of WorkManager implementation

Classes Names Description
WorkManager This is the main class to enqueue the work requests
Worker This is a sub-class that does the background task
WorkRequest This defines the background task
WorkStatus Running, Enqueued, Finished etc.

Types of work manager requests

Having the unique work manager instance

Cancel the work manager