Android Background Processing

Sep 23 2022 · Kotlin 1.6, Android 12, Android Studio Chipmunk 2021.2.1

Part 1: Run Background Work

06. Conclusion

Episode complete

Play next episode

Next
About this episode
Leave a rating/review
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 05. Challenge - Workers Next episode: 07. Introduction

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Notes: 06. Conclusion

The student materials have been reviewed and are updated as of SEPTEMBER 2022.

Transcript: 06. Conclusion

Well done! You’ve reached the end of the first part. This was an exciting first part! You’ve learned so much about the WorkManager API, by working on a small and simple app.

The WorkManager API revolves around building special Worker classes, which you can send data to, and receive results from. Each worker is a unit on its own, and while building Workers, you can specify when they will start, and if they have any special constraints.

Constraints can be simple and complex. You can constrain Workers to a specific Internet connection type, like WiFi or Metered. But you can also add more complex conditions, like avoiding low battery or low storage situations. You can also constrain the Workers to run only if the device is being charged!

Not only can you launch Workers, but you can return a result from a worker, chain Workers together, and propagate the results from one Worker to another! You can also observe the status of your work using LiveData objects!

[Remove slide]

The WorkManager API is really helpful and easy to use, for background tasks. This was just an introduction to the API on a smaller app.

In the next part of the course, you’ll repeat these concepts on a more complex app, with more use cases! See you in the next part! :]