Android Jetpack: Introducing WorkManager

77 621
13.8
Следующее
Популярные
113 дней – 7 5230:25
Nested scrolling | Compose Tips
Опубликовано 5 марта 2019, 18:27
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 → bit.ly/2tR65UY

WorkManager Codelab: Kotlin → bit.ly/2EMu7qe and Java → bit.ly/2EMnXqg

Working with WorkManager Presentation at Android Dev Summit 18' → bit.ly/2EweHFu

Google Power Blogpost Series → bit.ly/2EIMXO3

Introducing WorkManager Blogpost → bit.ly/2TpJ9dR

WorkManager Basics Blogpost → bit.ly/2C5K2hF

LiveData Overview Documentation → bit.ly/2SI693a (for understanding getWorkInfosByTagLiveData → bit.ly/2NIWXKU)

Reference Documentation → bit.ly/2C4Qwxo

Source code (part of AOSP) → bit.ly/2EKzxly

Issue Tracker → bit.ly/2ENJgaU


Watch more Android Jetpack videos here → goo.gl/kw8LPv

Subscribe to the Android Developers channel here → goo.gl/vLYDU

#Featured
автотехномузыкадетское