WorkManager is a library used to enqueue deferrable work that is guaranteed to execute sometime after its Constraints are met. WorkManager allows observation of work status and the ability to create complex chains of work. WorkManager uses an underlying job dispatching service when available based on the following criteria
· Uses JobScheduler for API 23+
· Uses a custom AlarmManager + BroadcastReceiver implementation for API 14-22
All work must be done in a ListenableWorker class. A simple implementation, Worker, is recommended as the starting point for most developers. With the optional dependencies, you can also use CoroutineWorker or RxWorker. All background work is given a maximum of ten minutes to finish its execution. After this time has expired, the worker will be signalled to stop.
There are two types of work supported by WorkManager: OneTimeWorkRequest and PeriodicWorkRequest. We will cover both on this course and we will learn from very basic and we will master the skill by the end on the course.
In the first section will learn about the basic concept and in the second section we will learn about the CoroutineWork and in the third section we will learn about the RxJavaWork and we will build some practical application to understand all the concept clearly.
I have been working in IT industry since 2009. Working on Microsoft product like Windows Server , Exchange Server, SharePoint , MS SQL Server. LAN & WAN , IT Security, ERP product like MS Dynamics AX . Android app development , Web application development. Building apps with C#, Java, PHP, Python, Java ,Kotlin …View full profile
Start your 14 day free trial. Cancel at any time.