Concurrency in Android

In this chapter, we will explain concurrency in Android. We will give examples and advice and apply concurrency to our Journaler application. We already touched on some basics by demonstrating the use of the AsyncTask class, but now we will dig deeper.

In this chapter, we will cover the following topics:

  • Handlers and threads
  • AsyncTask
  • Android Looper
  • Delayed execution

Get Mastering Android Development with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.