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

YouTube

Kotlin Coroutines: Exploring Threads vs. Coroutines and Implementation

Smartherd via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into the world of Kotlin Coroutines in this comprehensive 33-minute video tutorial. Gain a solid understanding of coroutines and their implementation in Kotlin programming. Compare threads and coroutines, exploring their differences and advantages. Learn to use coroutines with GlobalScope.launch lambda expressions and runBlocking lambda functions. Investigate the delay function and its comparison to Thread.sleep. Explore the 'suspend' modifier and suspending functions, and understand how coroutines operate on background or worker threads. Follow along with practical demonstrations and code examples to master these essential concepts in Kotlin development.

Syllabus

Welcome
Threads vs. Coroutines
Coroutines Intro
Coroutines Properties
Implement Coroutines
delay function
suspend function
runBlocking lambda
Custom suspending function
Summary
What's next? .

Taught by

Smartherd

Reviews

Start your review of Kotlin Coroutines: Exploring Threads vs. Coroutines and 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.