WorkManager- jetpack android library

WorkManager basics, how to use WorkManager with Rxjava2 & Kotlin Coroutines

Learn how to handle real-time work with workmanager.

Siva Ganesh Kantamani
The Startup
Published in
6 min readSep 6, 2019

--

List of contents:

  1. Overview
  2. Problem
  3. Solution
  4. WorkManager Integration
  5. Things to know before using WorkManager
  6. Basic Worker
  7. Useful features of WorkManager
  8. WorkManager with RxJava2
  9. WorkManager with Kotlin Coroutines
  10. Real-time work with WorkManager
  11. Useful links

Overview

One thing that constantly changing in the android environment is how we handle background tasks. This is because when the number of apps increased in the phone, number of background tasks will also increase, most of the apps won’t check for battery health before starting their job which leads to drain the battery in a short time.

Problem

To control battery draining activities android released battery saving features like App stand by, limit implicit broadcasts, Background service…

--

--