Background work with JobScheduler (Android Development Patterns S3 Ep 12)

56 169
34.8
Следующее
Популярные
18 дней – 3 6931:00
AnchoredDraggable #shorts
Опубликовано 22 сентября 2016, 17:00
Check out the newer WorkManager library, which is built on top of JobScheduler - goo.gle/2SLTK1A

----------------------------------------------------------------------

Read the blog post (goo.gl/rGH4uJ) for all the details on scheduling background work with JobScheduler, available on Android Lollipop (API 21) and higher. JobScheduler batches jobs together across all apps making it a great choice for conserving battery, reducing overall memory pressure on API 24 and higher, and using JobScheduler means you are automatically aware of Doze and App Standby.

Jobs can be persisted across reboots, scheduled to repeat at a set interval, automatically backoff in response to failures, or scheduled with set requirements such as network connectivity or only when the device is idle.

Learn about all of the mechanisms available for scheduling jobs in the documentation: goo.gl/PKg7u3

#BuildBetterApps #androidn #jobscheduler #battery #adp #background
автотехномузыкадетское