Android Jetpack: Introducing WorkManager
The Android WorkManager library makes it easy to schedule deferrable tasks that are expected to run even if the app exits or the device restarts. Need to sync photos with a server, or do a daily cache clean-up? Then WorkManager is the library for you! Because WorkManager is compatible with API 14+ and follows system health best practices, it is the recommended approach for handling most background execution tasks on Android.
WorkManager supports:
-One-off and periodic tasks
-Constraints, such as network availability
-Chaining tasks, parallel or sequentially
-Observable task state for display in UI
-Customized threading strategy
To learn more about WorkManager, check out:
The WorkManager Documentation → http://bit.ly/2tR65UY
WorkManager Codelab: Kotlin → http://bit.ly/2EMu7qe and Java → http://bit.ly/2EMnXqg
Working with WorkManager Presentation at Android Dev Summit 18' → http://bit.ly/2EweHFu
Google Power Blogpost Series → http://bit.ly/2EIMXO3
Introducing WorkManager Blogpost → http://bit.ly/2TpJ9dR
WorkManager Basics Blogpost → http://bit.ly/2C5K2hF
LiveData Overview Documentation → http://bit.ly/2SI693a (for understanding getWorkInfosByTagLiveData → http://bit.ly/2NIWXKU)
Reference Documentation → http://bit.ly/2C4Qwxo
Source code (part of AOSP) → http://bit.ly/2EKzxly
Issue Tracker → http://bit.ly/2ENJgaU
Watch more Android Jetpack videos here → https://goo.gl/kw8LPv
Subscribe to the Android Developers channel here → https://goo.gl/vLYDU
#Featured