WorkManager is not answer to all of the background tasks . E.G. You shouldn’t use it for processing payments since it doesn’t need to survive process death and these task needs to be executed immediately. Consider using Foreground Service. Its also not a great idea to use them for parsing data and contents of view.15 May 2018
Read moreIs WorkManager replacement for service?
The WorkManager API is a suitable and recommended replacement for all previous Android background scheduling APIs , including FirebaseJobDispatcher, GcmNetworkManager, and Job Scheduler.
Read moreDoes WorkManager work in background?
WorkManager is part of Android Jetpack and an Architecture Component for background work that needs a combination of opportunistic and guaranteed execution. Opportunistic execution means that WorkManager will do your background work as soon as it can .
Read moreWhat is a WorkManager Android?
WorkManager is an Android library that runs deferrable background work when the work’s constraints are satisfied . WorkManager is intended for tasks that require a guarantee that the system will run them even if the app exit s.
Read more