CRAZY Skills WorkManager : Wrap-Up

0
9
MAD Skills WorkManager : Wrap-Up

Posted by Caren Chang, Developer Relations Engineer

In situation 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 after that continued to speak even more concerning innovative uses consisting of just how to check and also debug your WorkManager code. The collection finished with an episode on just how to move your old code from GCMNetworkManager and also FirebaseJobDispatcher to make use of 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 via the WorkManager codelab. We begun by recognizing just how to specify job we desire done, and also just how to set up the job. We after that went on to executing various kinds of job: special and also routine. Finally, we finished the episode by having a look at application standby containers to much better comprehend just how WorkManager routines function.

If you’re brand-new to WorkManager, we additionally 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 take a look at just how WorkManager handle multi-threading. When dealing with strings, you have the choice of making use of Executors, coroutines or RxJava, and also Ben showed each of these strategies with WorkManager. The episode ended by showing just how to return an outcome when the job is finished to ensure that the UI can be upgraded.

READ ALSO  2020 placed us on the side of a cpu transformation

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

Episode 3: WorkManager: Advanced setup and also screening

In episode 3, we had a look at just how to tailor the initialization of WorkManager and also assistance applications that extend numerous procedures. We’ve obtained a great deal of inquiries from programmers around screening and also debugging, so Ben additionally studied just how to check your Workers, and also beneficial debugging strategies.

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

In episode 4, we concentrated on just how to move from old task 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 deal with tools 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 make use of WorkManager rather!

Episode 5: WorkManager with Hugo

Android GDE Hugo Visser discussed why he picked to make use of WorkManager in a wellness application he lately worked with and also just how the collection has actually aided his growth procedure.

Episode 6: Live Q&A

The collection finished up with a real-time Q&A session where we addressed your WorkManager associated inquiries. Watch the tape-recording to see all your inquiries addressed, consisting of future prepare for WorkManager, dealing with replicate job, retrying stopped working job, and also much more!

READ ALSO  After nearly 4 years, the last 'Nier: Automata' key has actually been located




Source feedproxy.google.com