Concurrency with Coroutines in Android

Jun 5 2024 · Kotlin 1.9.23, Android 14, Android Studio Iguana

Lesson 02: Use Coroutines

Demo

Episode complete

Play next episode

Next

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In this demo, you’ll see how coroutines look in action. You’ll also learn how to start coroutines in your Android applications.

while (true) {
  //..
}
runBlocking {
  doSuspendableWork()
}
job = coroutineScope.launch {
  doSuspendableWork()
}
See forum comments
Cinema mode Download course materials from Github
Previous: Instructions Next: Conclusion