Kotlin Coroutines: Getting Started in Android - Beginner Tutorial

Опубликовано: 16 Март 2026
на канале: Rahul Pandey
9,936
361

This video covers the essentials for understanding Kotlin coroutines. We talk about why asynchronous programming is necessary in Android apps, and how Kotlin coroutines are becoming the de facto solution for this type of work.

Code: https://github.com/rpandey1234/Corout...
Callback style of API calls: https://github.com/rpandey1234/Corout...

Helpful links:
➤ Kotlin guide: https://kotlinlang.org/docs/reference...
➤ Android developers guide:   / coroutines-on-android-part-i-getting-the-b...  
➤ Christina Lee's talk: https://skillsmatter.com/skillscasts/...
➤ Programming Kotlin by Venkat Subramaniam: https://amzn.to/33yHJ7r
➤ Android Cookbook: https://amzn.to/3IfEX6h
➤ Head First Kotlin: https://amzn.to/3I77Z7Z

Follow me on Twitter:   / rpandey1234  

Music track: Cascades by John F. Hennessy

Timestamps:
0:00- What is asynchronous programming?
2:43- Identifying issues with callback style programming
4:44- Using coroutines to simplify API calls
5:28- What is a coroutine?
9:00- Main safety and error handling
11:56- Writing our own suspend function for expensive work
14:43- Types of dispatchers: Default, Main, and IO
16:30- Summary and other concepts