Posted by Caren Chang, Developer Relations Engineer

In instance you missed it, we’ve simply ended up a MAD Skills collection on WorkManager. We begun by presenting WorkManager for those brand-new to the collection and afterwards continued to speak even more regarding innovative uses consisting of exactly how to examine and also debug your WorkManager code. The collection finished with an episode on exactly how to move your old code from GCMNetworkManager and also FirebaseJobDispatcher to utilize WorkManager rather.

Here’s a fast recap of what we covered.

Episode 1: WorkManager: Basics

In our very first episode, we checked out the essentials of WorkManager with the WorkManager codelab. We begun by comprehending exactly how to specify job we desire done, and also exactly how to arrange the job. We after that went on to executing various sorts of job: special and also routine. Finally, we finished the episode by having a look at application standby pails to much better comprehend exactly how WorkManager timetables function.

If you’re brand-new to WorkManager, we likewise advise having a look at the complying with posts:

Episode 2: WorkManager: Working behind-the-scenes

The collection proceeded with Ben offering an extra extensive consider exactly how WorkManager handle multi-threading. When collaborating with strings, you have the alternative of making use of Executors, coroutines or RxJava, and also Ben showed each of these strategies with WorkManager. The episode ended by showing exactly how to return an outcome when the job is finished to ensure that the UI can be upgraded.

If you’re interested in making use of WorkManager with coroutines, we likewise advise this post from Florina: WorkManager – Kotlin APIs

Episode 3: WorkManager: Advanced arrangement and also screening

In episode 3, we had a look at exactly how to tailor the initialization of WorkManager and also assistance applications that extend several procedures. We’ve obtained a great deal of inquiries from designers around screening and also debugging, so Ben likewise studied exactly how to examine your Workers, and also valuable debugging strategies.

Episode 4: Migrating from GCM NetworkManager and also FirebaseJobDispatcher to WorkManager

In episode 4, we concentrated on exactly how to move from old work organizing collections (GCMNetworkManager and also FirebaseJobDispatcher) to WorkManager. Once your application begins targeting API degree 30 and also above, GCM NetworkManager and also FirebaseJobDispatcher will certainly no more work with gadgets running Android Marshmallow (6.0) and also over. If your application is still making use of either of those collections, currently is the moment to upgrade your applications to utilize WorkManager rather!

Episode 5: WorkManager with Hugo

Android GDE Hugo Visser spoke about why he picked to utilize WorkManager in a health and wellness application he just recently serviced and also exactly how the collection has actually aided his advancement procedure.

Episode 6: Live Q&A

The collection finished up with an online Q&A session where we addressed your WorkManager relevant inquiries. Watch the tape-recording to see all your inquiries addressed, consisting of future prepare for WorkManager, taking care of replicate job, retrying stopped working job, and also a lot more!