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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.