In this lesson, you learned about:

  • The concept of concurrency in programming.
  • The difference between concurrency, which means running two or more tasks in overlapping time periods, and parallelism, which means running multiple tasks at the same instant.
  • Threads and processes. On the Android platform, there’s a special main thread, also known as the UI thread. It’s responsible for updating the user interface. All other operations, like network requests, database queries, or heavy computations, should run on background threads. Otherwise, the app will become unresponsive.

In the next lesson, you’ll learn about the Kotlin Coroutines. They are a modern way to handle concurrency.

See forum comments
Download course materials from Github
Previous: Demo Next: Understand Concurrency