The ABC of Coroutines - Kotlin Vocabulary
HTML-код
- Опубликовано: 10 фев 2025
- 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
been struggling with corounites for a long time , had no clear idea of its concepts until i watched this video , great job !
We're so happy to hear the tutorial was helpful!
Be sure to subscribe for the latest updates, tips and tutorials:
goo.gle/AndroidDevs
😎
Great! I have understood quite a lot of things I wasn't getting right before.
0:53 "In Europe, you should create a CoroutineScope"
I guess sdk usage is now region restricted (;
He said "in your app", I don't know the subtitle is "Europe"
this restrictions are usually made by communists ;))
he says "in your app"
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!
The content was amazing. Thanks.
not to forget viewLifecycleOwner.lifecycleScope for fragments
But this was a great explanation, bravo!
Your content on Android development is amazing!
@@rafatansari112 Thank you very much 🙏
Great video! Deserves for more views/likes!
Keep up the good work, thanks!
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?
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 :)
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).
Things are more clear now. Thanks a lot for this D J S .😄
nice explanation!!
Great timing for my project. Good teacher 👍
Great!
Thanks, Amit!
Want to learn even more Kotlin Vocabulary? Check out this playlist: goo.gle/2wHr94N 😁
Good explanation, as always!
Coroutines are better than traditional AsyncTask. And it's scope makes it more powerful and usable.
Are there people who actually still use AsyncTasks in real projects?
@@bottomofeverybottle Yes. there are many people who still believes in AsyncTask. It's officially deprecated. but still they're using. 😁
Clear, straightforward and informative talk👍
Great video
Muchas Gracias. ¿Por qué no ponen esos videos en español?.
solían tener subtítulos en español, que yo recuerde. ahora ni siquiera tienen los ingleses.
Love it ❤
Great👍
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?
Gracias, Manuel. Un placer aprender contigo (como siempre). Me ha encantado que en los subtítulos han traducido por Europe :)
Cool!
Can I give multiple thumbs up for this video please?
Well done! LiveData and coroutines rules. RxJava go home :p
Really ? In rxjava we have lot of operators , which is missing here