No video

The ABC of Coroutines - Kotlin Vocabulary

  Рет қаралды 49,508

Android Developers

Android Developers

Күн бұрын

Coroutines in Kotlin simplify asynchronous operations on Android. In this video, we explain the most common classes and functions used in coroutines. CoroutineContext, Job, Dispatchers, and much more!
Coroutines 101 talk → goo.gle/3khfnSw
Cancellation and exceptions in coroutines talk → goo.gle/31n9AmZ
Suspend modifier video → goo.gle/3k94rGF
Watch more Kotlin Vocabulary→ goo.gle/2wHr94N
Subscribe to Android Developers → goo.gle/Androi...
#Kotlin #KotlinVocabulary #AndroidDevelopers

Пікірлер: 39
@cnankh9087
@cnankh9087 2 жыл бұрын
been struggling with corounites for a long time , had no clear idea of its concepts until i watched this video , great job !
@AndroidDevelopers
@AndroidDevelopers 2 жыл бұрын
We're so happy to hear the tutorial was helpful! Be sure to subscribe for the latest updates, tips and tutorials: goo.gle/AndroidDevs 😎
@robchr
@robchr 3 жыл бұрын
I've been using RxJava 2 to write reactive architecture apps for 4 years now and was reluctant to migrate to coroutines because Flow was still in development. With Flow maturing I've begun the transition and find the syntax of suspend functions much easier to parse than Single chains. I assumed that kotlin coroutines would be similar to Generators/JS or Goroutines/Golang but now I see it's much more than that with how cancellation is propagated. Android development has never been better!
@mitch8204
@mitch8204 3 жыл бұрын
Great! I have understood quite a lot of things I wasn't getting right before.
@MasterYogurta
@MasterYogurta 3 жыл бұрын
0:53 "In Europe, you should create a CoroutineScope" I guess sdk usage is now region restricted (;
@lunateams928
@lunateams928 3 жыл бұрын
He said "in your app", I don't know the subtitle is "Europe"
@cnankh9087
@cnankh9087 2 жыл бұрын
this restrictions are usually made by communists ;)) he says "in your app"
@codinginflow
@codinginflow 3 жыл бұрын
not to forget viewLifecycleOwner.lifecycleScope for fragments
@codinginflow
@codinginflow 3 жыл бұрын
But this was a great explanation, bravo!
@rafatansari112
@rafatansari112 2 жыл бұрын
Your content on Android development is amazing!
@codinginflow
@codinginflow 2 жыл бұрын
@@rafatansari112 Thank you very much 🙏
@dipakbari4
@dipakbari4 3 жыл бұрын
Coroutines are better than traditional AsyncTask. And it's scope makes it more powerful and usable.
@bottomofeverybottle
@bottomofeverybottle 3 жыл бұрын
Are there people who actually still use AsyncTasks in real projects?
@dipakbari4
@dipakbari4 3 жыл бұрын
@@bottomofeverybottle Yes. there are many people who still believes in AsyncTask. It's officially deprecated. but still they're using. 😁
@janderijke4108
@janderijke4108 2 жыл бұрын
At 1:26 the subtitles say "async isn't meant to return a result", while doc says this returns a Deferred. Guess the subtitling misunderstood?
@hariskumar9010
@hariskumar9010 Жыл бұрын
I'm here for the same. Actually a Deffered can hold an result which is basically the async does and launch work as 'fire-and-forget'. I think he misplaced the words :)
@technics6215
@technics6215 Жыл бұрын
Thank you. Very good talk. Videos like this deserve better sound. On my ThinkPad it was hard to understand everything on speakers. There is some echo in the video, and this voice must be in some hole of bandwidth of my Thinkpad P speakers (they are pretty bad for a laptop that cost more than well stuffed Macbook).
@517Amit
@517Amit Жыл бұрын
Great!
@AndroidDevelopers
@AndroidDevelopers Жыл бұрын
Thanks, Amit! Want to learn even more Kotlin Vocabulary? Check out this playlist: goo.gle/2wHr94N 😁
@cedrickossi
@cedrickossi 3 жыл бұрын
Things are more clear now. Thanks a lot for this D J S .😄
@egist
@egist 3 жыл бұрын
Great video! Deserves for more views/likes! Keep up the good work, thanks!
@tinykingcontractor1396
@tinykingcontractor1396 Жыл бұрын
The content was amazing. Thanks.
@SanketBhat7
@SanketBhat7 3 жыл бұрын
Clear, straightforward and informative talk👍
@emreakturk9469
@emreakturk9469 3 жыл бұрын
Great timing for my project. Good teacher 👍
@AbdielDMolina
@AbdielDMolina 3 жыл бұрын
nice explanation!!
@MaximKulikov
@MaximKulikov 3 жыл бұрын
Good explanation, as always!
@ashutoshsoni8142
@ashutoshsoni8142 3 жыл бұрын
Great video but I still don't understand the difference between CoroutineScope and coroutineScope. SupervisorScope and supervisorScope? Like one is in capital letter and the other one is in small? Or when should we use it?
@mwshubham
@mwshubham 3 жыл бұрын
Great video
@pankajsharma-uk6io
@pankajsharma-uk6io 3 жыл бұрын
Great👍
@alejandrogallego5419
@alejandrogallego5419 2 жыл бұрын
Muchas Gracias. ¿Por qué no ponen esos videos en español?.
@rohanmanchanda5250
@rohanmanchanda5250 2 жыл бұрын
solían tener subtítulos en español, que yo recuerde. ahora ni siquiera tienen los ingleses.
@kennguyen1016
@kennguyen1016 3 жыл бұрын
Love it ❤
@manu-singh
@manu-singh 3 жыл бұрын
Cool!
@taslimfi
@taslimfi 3 жыл бұрын
Can I give multiple thumbs up for this video please?
@juanf.mateosredondo8830
@juanf.mateosredondo8830 Жыл бұрын
Gracias, Manuel. Un placer aprender contigo (como siempre). Me ha encantado que en los subtítulos han traducido por Europe :)
@pedrosanguinetti2584
@pedrosanguinetti2584 3 жыл бұрын
Well done! LiveData and coroutines rules. RxJava go home :p
@nithinchandran4285
@nithinchandran4285 3 жыл бұрын
Really ? In rxjava we have lot of operators , which is missing here
Delegating delegates - Kotlin Vocabulary
8:44
Android Developers
Рет қаралды 25 М.
Kotlin Coroutines 101 - Android Conference Talks
24:49
Android Developers
Рет қаралды 134 М.
Lehanga 🤣 #comedy #funny
00:31
Micky Makeover
Рет қаралды 29 МЛН
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 2,8 МЛН
Look at two different videos 😁 @karina-kola
00:11
Andrey Grechka
Рет қаралды 14 МЛН
KotlinConf 2017 - Introduction to Coroutines by Roman Elizarov
45:32
Understand Kotlin Coroutines on Android (Google I/O'19)
37:49
Android Developers
Рет қаралды 174 М.
Coroutines and Loom behind the scenes by Roman Elizarov
45:22
Kotlin by JetBrains
Рет қаралды 31 М.
95% Don't Understand THIS About Coroutines (Main-Safety)
9:38
Philipp Lackner
Рет қаралды 27 М.
Untangling Coroutine Testing by Márton Braun
42:49
Kotlin by JetBrains
Рет қаралды 8 М.
Thinking in Compose
25:27
Android Developers
Рет қаралды 87 М.
The Essence of Coroutines
8:10
Dave Leeds
Рет қаралды 9 М.
How to Kotlin - from the lead Kotlin language designer (Google I/O '18)
39:24
Lehanga 🤣 #comedy #funny
00:31
Micky Makeover
Рет қаралды 29 МЛН