WorkManager- jetpack android library
WorkManager basics, how to use WorkManager with Rxjava2 & Kotlin Coroutines
Learn how to handle real-time work with workmanager.
Published in
6 min readSep 6, 2019
List of contents:
- Overview
- Problem
- Solution
- WorkManager Integration
- Things to know before using WorkManager
- Basic Worker
- Useful features of WorkManager
- WorkManager with RxJava2
- WorkManager with Kotlin Coroutines
- Real-time work with WorkManager
- 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…