Android Jetpack: Introducing WorkManager

8 Просмотры
Издатель
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 →

WorkManager Codelab: Kotlin → and Java →

Working with WorkManager Presentation at Android Dev Summit 18' →

Google Power Blogpost Series →

Introducing WorkManager Blogpost →

WorkManager Basics Blogpost →

LiveData Overview Documentation → (for understanding getWorkInfosByTagLiveData → )

Reference Documentation →

Source code (part of AOSP) →

Issue Tracker →


Watch more Android Jetpack videos here →

Subscribe to the Android Developers channel here →

#Featured
Категория
Приключения онлайн
Комментариев нет.
Яндекс.Метрика