Mastering WorkManager: Executing Background Work in Android with Jetpack Compose
WorkManager is the recommended solution for persistent work. A persistent work remains scheduled and survives through app restarts and system reboots. Explore WorkManger to start persistent long-running tasks in the background. Learn to use WorkManager to start one-time tasks or periodic tasks which start automatically at a specified interval in the background. Learn how to observe for status, progress and output of the task while using WorkManager in different use cases. Explore different ways to Manage and cancel a Work. Also, know about restrictions in WorkManager. Learn how to debug Workers, their states and results using Android Studio’s App Inspection Tool. By the end of this course, you will have a solid understanding of WorkManager and its Uses.
Course Objectives
In this master codelab, you’ll explore:
-
Overview of WorkManager
-
When and why to use WorkManager
-
Types of persistent work: Immediate, Long Running and Deferrable
-
Creating and running a one-time Work
-
Chaining in WorkManager
-
Threading in WorkManager
-
Retrying failed workers
-
Setting constraints In WorkManager
-
Managing and cancelling work
-
Observing work progress and status
-
Creating and running periodic work
-
Creating and running expedited and foreground work
More courses by the instructor