Member-only story
Exploring Jetpack: Scheduling tasks with Work Manager
In I/O ’18, Google released Android Jetpack. It’s a set of libraries, tools and architectural guidance to help make it quick and easy to build great Android apps. In this Android Jetpack, team at Google release one library specifically designed for scheduling and managing the background tasks. It’s called “WorkManager”.
In this part you will learn about schedulers evolution matrix, what is work manager, how to use it and when to use it. In the next part, you will learn about how to chain the works for ordered execution of tasks.
You may say at this moment that we have Job Scheduler API backed right inside of the Android OS for scheduling the tasks. We also have GCM network manager, Firebase Job Dispatcher, Evernote’s android job and many other library that allows to schedule the background tasks. Why do we need another new library for scheduling the tasks?
To answer this answer, I came up with the background job scheduler evolution matrix. Consider this as the four pillars for the schedules.