Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Kotlin Coroutines - Complete Guide from Basics to Advanced Implementation

Philipp Lackner via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn the fundamentals and advanced concepts of Kotlin coroutines in this comprehensive tutorial covering asynchronous programming for Android development. Explore what coroutines are and how they simplify concurrent programming, then dive into creating your first coroutine and understanding suspend functions that enable non-blocking code execution. Master coroutine contexts that determine where and how coroutines run, and understand the runBlocking builder for bridging blocking and non-blocking code. Discover job management techniques including waiting for completion and proper cancellation strategies to prevent memory leaks. Study the async and await functions for concurrent execution and result handling, then learn to integrate coroutines with Android lifecycle components using lifecycleScope and viewModelScope for safe UI operations. Apply your knowledge through practical examples integrating coroutines with Firebase Firestore for database operations and Retrofit for network requests. Conclude with an in-depth exploration of coroutine cancellation mechanisms and exception handling strategies essential for robust Android applications.

Syllabus

WHAT IS A COROUTINE? - Kotlin Coroutines
Starting our First Coroutine - Kotlin Coroutines
Suspend Functions - Kotlin Coroutines
Coroutine Contexts - Kotlin Coroutines
runBlocking - Kotlin Coroutines
Jobs, Waiting, Cancelation - Kotlin Coroutines
Async and Await - Kotlin Coroutines
lifecycleScope and viewModelScope - Kotlin Coroutines
Coroutines with Firebase Firestore - Kotlin Coroutines
Coroutines with Retrofit - Kotlin Coroutines
In-Depth Guide to Coroutine Cancellation & Exception Handling - Android Studio Tutorial

Taught by

Philipp Lackner

Reviews

Start your review of Kotlin Coroutines - Complete Guide from Basics to Advanced Implementation

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.