Kotlin Coroutine (High-quality Course)

  Рет қаралды 108,241

Smartherd

Smartherd

Күн бұрын

Пікірлер: 274
@SriyankSiddhartha
@SriyankSiddhartha 2 жыл бұрын
Comment to support. Thanks!
@TabmansTube
@TabmansTube Жыл бұрын
this guy has some serious teaching talent, explained everything to me like I am 5
@OceanNoire
@OceanNoire 11 ай бұрын
I'm wondering if there is a better tutorial about this topic. Good job
@Quancept
@Quancept Ай бұрын
This is hands down the best tutorial on Kotlin Coroutine. Clean and professional! Thanks mate
@shoaibkhalid6156
@shoaibkhalid6156 2 жыл бұрын
I regret not watching this video earlier. I truely love the way you teach. Thank you so much Sriyank.
@shoaibkhalid6156
@shoaibkhalid6156 2 жыл бұрын
Agree Shoaib
@karthikeyan027
@karthikeyan027 2 жыл бұрын
1) while explaining coroutine cooperative, 1:08:40 it's mentioned that coroutine gets launched in background thread, but it should be in main thread since its inside the runBlocking which is in main thread too. 2) While explaining withTimeout function 1:25:47, I thing the try catch need to applied to entire withTimeout function instead of just applying to for loop.
@karthikairam
@karthikairam Жыл бұрын
Yes, I completely agree on the first point. In that case, the delay() function outside the launch block completely doesn't make sense from the video. However, program only prints if we give the delay(). Also my observation is that just adding a delay(1) is sufficient to execute all the numbers. If we don't have any delay() and cancel the child coroutine (job.cancel()), then the main thread just finishes the execution without launching the child coroutine. If we remove the job.cancel() and just keep the job.join() alone, then delay is not required and child coroutine completes along with parent. Conclusion: When we have a job.cancel() before job.join(), regardless whether we use a suspending functions from (kotlinx.coroutine package) or not, the child coroutine is not even initiated. If we want, then we need to use delay() in the parent to buy sometime.
@CorDharel
@CorDharel 2 жыл бұрын
Hello Sriyank I am very happy and I would like to say thank you a lot. I had a hard time understanding coroutines at work. Now that I have watched your video is is very clear because you are a really really good teacher, you start from the basics and then get more and more difficult slowly. And the video is really good you always show what you are talking about with arrows and boxes and so on. So again thank you a lot and many greetings and best wishes from Switzerland! Regards, Marcel
@musaib.shabir
@musaib.shabir 11 ай бұрын
Brilliant, Thank You soo much
@u_nknown4O4
@u_nknown4O4 3 ай бұрын
previously i watch another playlist about coroutine, but i Feel like that,i don't know nothing about coroutine, but after watching your video, i'm a bit confident that, yes i get the concept of coroutine. Thank you so much..❤️
@sankarsambangi
@sankarsambangi 2 жыл бұрын
Thanks for the wonderful course. At 46:14 you mentioned that the statement after a suspend function will execute either in main thread or some other thread but later in the course while explaining about CoroutineContext launch without param(Confined dispatcher) you mentioned all statements will execute is same thread.
@tibrec8
@tibrec8 2 жыл бұрын
that was a mistake
@bensekyondwa
@bensekyondwa 2 жыл бұрын
This tutorial was a great one. After watching it, Coroutines are now an easy concept.
@salimsaudagar8208
@salimsaudagar8208 5 ай бұрын
I have watched many coroutine lectures but this is the first time I have understood coroutine.Amazing video keep uploading this kind of video.
@sumitrudra1734
@sumitrudra1734 7 ай бұрын
Deferred is not a subclass of job .I think we have to say that Deferred is an interface which extends the Job interface.
@ashishakash3249
@ashishakash3249 6 ай бұрын
Correcting the statement 27:00 here all suspend functions will not switch the thread but suspend functions which contains delay has a possibility of switching the thread.
@RaviKumar-vk6ib
@RaviKumar-vk6ib 2 жыл бұрын
Bahut badhia padeila pura bujhi heigala couroutine jaaka. God bless!
@pragyayadav3743
@pragyayadav3743 Жыл бұрын
One of the best video on coroutines . Great job! And many thanks for creating such videos. looking forward for more such contents. 👏
@mehdiparsaei1867
@mehdiparsaei1867 3 ай бұрын
I would say it was the best Coroutine explanation. Just a small point, try-catch should be out of withTiimeout block, not inside.
@mohd.sohaib5822
@mohd.sohaib5822 Жыл бұрын
Someone recommended this channel.. It's gem 💎
@strongesthumanbeing
@strongesthumanbeing 2 жыл бұрын
ONE OF THE BEST VIDEOS ON COROUTINES. Thank you so much. Loved it!!! 💙
@SanjeevKumar-os3yf
@SanjeevKumar-os3yf 2 жыл бұрын
Awesome tutorial. When I started this tutorial, I was ZERO in Coroutine But at end...can't explain how I am felling. Thanks a lot. Pranam!!!
@smartherd
@smartherd 2 жыл бұрын
I am glad it helped. ❤️
@RaviKumar-vk6ib
@RaviKumar-vk6ib 2 жыл бұрын
Did you try going to toilet?
@prasantkumar7693
@prasantkumar7693 6 ай бұрын
I would like to say thank you for this simple and nice explanation of kotlin coroutines.
@M.BilalAhmad
@M.BilalAhmad 2 жыл бұрын
It's hard to believe such content and outstanding presentation is free. Subscribed as a thanx :)
@Ckbagchi
@Ckbagchi Жыл бұрын
It's really good content for beginners like me to understand a powerful feature of Kotlin.
@amiref9178
@amiref9178 Ай бұрын
Thank you. Great comprehensive tutorial. just what i was looking for
@ZondaJazz
@ZondaJazz 2 жыл бұрын
The best coroutine tutorial on the Internet! Thanks so much!!!
@JahidHasanAshik
@JahidHasanAshik 2 жыл бұрын
One of the best coroutine tutorial on internet 🖤
@HaSeebpjr01
@HaSeebpjr01 10 ай бұрын
best video about coroutines ever. Thank you for your efforts in making this concept easy to understand.
@dydx3741
@dydx3741 6 ай бұрын
Thank you so much for this video, i had gone through so many resources on topic Coroutines but only THIS video connected all the dots in my brain thank you so much again
@mohsinikram8921
@mohsinikram8921 2 жыл бұрын
Amazing Tutorial No one explain like this
@theophilus494
@theophilus494 2 жыл бұрын
this video was the best I've seen on coroutines explanation. thank you Smartherd
@michaljanecek1103
@michaljanecek1103 Жыл бұрын
One of the better courses on KZbin! Thanks man
@nikolanikolic2043
@nikolanikolic2043 Жыл бұрын
Great job. Just watched this course and I can recommend this to everyone.
@abrhot180
@abrhot180 2 жыл бұрын
Thank you for your explanatory video
@BikramDas-l6o
@BikramDas-l6o 9 ай бұрын
One of the best coroutine course.
@overthehorizon5611
@overthehorizon5611 2 жыл бұрын
I like the sudden word "Fine" :)
@wilsonahanmisi1187
@wilsonahanmisi1187 2 жыл бұрын
One of the best coroutines videos out there.... Thanks Mate
@rkc42
@rkc42 Жыл бұрын
Thanks, Sriyank , i gothrough 2 times of this class and all the concept of coroutin is clear now Thanks again, now i am going to subscribe your channel ..
@rizqyfahmi8343
@rizqyfahmi8343 2 жыл бұрын
Hi Sriyank, I wonder with your statement about some topic 1. At 01:53:14 you said that when we create a coroutine without any parameter, then it's going to inherit the coroutine context from immediate parent. Why "async" is executed in the background thread even though the parent is directly on the main thread at 01:38:47 ? 2. Will "async" without any parameters always run over the background by default? 3. What kind of dispatcher that "async" without any parameter use? 4. What actually happened with the coroutine that is started lazily when it doesn't use. it looks suspended at 01:42:58 (The controller doesn't move to the next statement)? if yes, why did it happen? Anyway, thanks for the great video especially for the illustrations. It such a awesome method to make me understand easily
@inafalcaom
@inafalcaom 7 ай бұрын
You're the best, my friend! Greetings from Brazil!
@ПавелЯкунин-й5т
@ПавелЯкунин-й5т 2 жыл бұрын
i live you, it was the best coroutines tutorial i seen yet, THANKS
@purushothamangempuraj177
@purushothamangempuraj177 2 жыл бұрын
This is the clearest of many coroutines videos i have watched! Thanks a ton!
@bharathanddata
@bharathanddata 10 ай бұрын
At 32:02, Sir, you said that the parent co-routine and child co-routine runs parallel in a concurrent manner. My doubt is that whether they run on same/single processor core concurrently (switching b/w co-routines) or in different cores parallelly (executing simultaneously).
@guangliu308
@guangliu308 2 ай бұрын
Great video. Clearly explained in details.
@nishakhatoon7267
@nishakhatoon7267 Жыл бұрын
Oh my god 😮 the way of explanation is next level❤
@bestlogicalanytype
@bestlogicalanytype Ай бұрын
Truly good video for coroutine I found on KZbin thanks to upload such detailed informative videos ❤❤
@Karan-ow4wl
@Karan-ow4wl 3 ай бұрын
One of the best video. Commenting to support.
@vishnujm242
@vishnujm242 Жыл бұрын
45:27 you mentioned launch child coroutine runs on main thread when wrapped under runblocking, but in 1:08:48 you mentioned launch is launching on background thread while under runblocking
@vedantjha2327
@vedantjha2327 Жыл бұрын
runBlocking runs on the current thread, check with thread the immediate parent coroutine of the particular child routine is running? th child coroutine will run on the thread of parent coroutine
@mohitdholakia
@mohitdholakia 2 жыл бұрын
Hi @Sriyank Siddhartha one confusion at 1:07:25 launch coroutine will be in the main thread as you have written it in runBlocking{} Correct me if I am wrong.
@mandeepraaj4881
@mandeepraaj4881 9 ай бұрын
Wonderful explanation about kotlin coroutine.
@renanfpedro
@renanfpedro 2 жыл бұрын
Brilliant, the whole course was super concise. Congratulations.
@nebezberzency5778
@nebezberzency5778 10 ай бұрын
Awesome 🎉
@abhisheknigam6975
@abhisheknigam6975 Жыл бұрын
Excellent course on Coroutine Thanks so much Sriyank for this Course. Thanks a ton
@ranganathansamraj1596
@ranganathansamraj1596 6 ай бұрын
Thank you so much for clear explanation about coroutines with slides
@AnkitKumar-vt9pf
@AnkitKumar-vt9pf 2 жыл бұрын
Sir I realy thank you for teaching us such a difficult topic in easy and simple way.Great work sir.👌👌
@kunjeshvirani
@kunjeshvirani 2 жыл бұрын
1 Billion thanks for this awesome video.
@ShashankKumar-oy8zy
@ShashankKumar-oy8zy Жыл бұрын
Excellent tutorial👏
@harshjoshi014
@harshjoshi014 6 күн бұрын
amazing course. loved every second of it. can't wait for more android dev content on your channel
@akaalkripal5724
@akaalkripal5724 Ай бұрын
Are your courses on Udemy? Superb content
@vinayTshetty
@vinayTshetty 2 жыл бұрын
1:43:09 The application is not getting stop. i.e Process finished with exit code 0 is not getting executed can u tell the reason In lazy why this type of behaviour is there ?
@jongxina3595
@jongxina3595 2 жыл бұрын
Best video on coroutines.
@abhishekbharti2131
@abhishekbharti2131 8 ай бұрын
Thankyou.. This course is very helpful and made the concept clear. Very well explained.
@clipbits9437
@clipbits9437 2 жыл бұрын
why did you say concurent means parallel at timestamp 1:37:00. I searched on google those two things are completely different. So my question is are coroutines executed parallely or concurently.
@prashanttomer4077
@prashanttomer4077 Жыл бұрын
Concurrently
@vincentbattaglia7539
@vincentbattaglia7539 2 жыл бұрын
Great video!! Quick note that this should be the proper way to add the Gradle dependency in the project: implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4") - depending on the latest version, of course.
@yusufmd1090
@yusufmd1090 2 жыл бұрын
Really great content and well explained. Thank you very much.
@velturidasarath7420
@velturidasarath7420 9 ай бұрын
Thank you for clear understanding on coroutine and some more points were added may be useful
@LegionXI.
@LegionXI. 2 жыл бұрын
A comprehensive guide for kotlin coroutines.👍
@smartherd
@smartherd 2 жыл бұрын
Plz share in your network. Thanks
@prateeksharma5340
@prateeksharma5340 4 ай бұрын
very nice explanation. Kudos for the efforts you have put 💚
@sachinsoni8102
@sachinsoni8102 Жыл бұрын
Best Video on Coroutines.
@shivenderkumar4521
@shivenderkumar4521 2 жыл бұрын
Best video for coroutines, very smooth and clear explaination. Thank you so much Sriyank💜
@ashutoshpurohit5522
@ashutoshpurohit5522 2 жыл бұрын
best tutorial on coroutine thanks! Sriyank
@mehdiparsaei1867
@mehdiparsaei1867 3 ай бұрын
Many thanks! Could you please add using of SupervisorJob in CoroutinContext?
@aamirkhan-ky3si
@aamirkhan-ky3si 2 ай бұрын
Love the way you teach ❤
@narendrakothamire2679
@narendrakothamire2679 2 жыл бұрын
Its better to say Deferred is subinterface of Job interface and its not coincident that it resumed on same thread coroutines works that way only until you use Unconfined dispatcher
@rajivbm2239
@rajivbm2239 Жыл бұрын
Thanks for your wonderful short video
@rpitpatel1004
@rpitpatel1004 2 жыл бұрын
Great explanation and easy to understand with this road map you design. Please make a tutorial on coroutine Flow. Thank you for your hard work.
@kenanhas9404
@kenanhas9404 Жыл бұрын
RunBlocking was always used as the main coroutine builder in the course. So, when we create a coroutine in a normal project, how can we create a coroutine other than runBlocking and GlobalScope? I only get an error when I type launch or async. GlobalScope and runBlocking are normally not intended to be used. What will I do in this situation?
@lavkushjaiswal718
@lavkushjaiswal718 2 жыл бұрын
Thankyou Sriyank for this video. Nice exploration Coroutine topic.
@crazeeealgorithms3236
@crazeeealgorithms3236 2 жыл бұрын
Thats's neat and clean, Thank you for quality content.
@phoneix24886
@phoneix24886 2 жыл бұрын
This is fantastic. I will recommend this tutorial to my juniors.
@smartherd
@smartherd 2 жыл бұрын
Awesome! Thank you!
@BCS_AAMIRASHRAF
@BCS_AAMIRASHRAF 5 ай бұрын
1:44 ,lazy execution is serial or parallel??
@vikasrana1584
@vikasrana1584 2 жыл бұрын
Awesome Work Done Sriyank Sir, keep it more comprehensive
@vadimbutenko8814
@vadimbutenko8814 10 ай бұрын
Thank you so much for this tutorial. Very clear and understandable
@mubbashirahmed1445
@mubbashirahmed1445 Жыл бұрын
Excellent job.... well explained
@faysaldeve385
@faysaldeve385 Жыл бұрын
Thank you for your effort. The course was very wonderful and useful, and I learned a lot from it, and this is due to your beautiful way of explaining. I hope with all my heart that you will continue in this creativity, and I wish you success.😍😍😍
@pecintaiphone9508
@pecintaiphone9508 2 жыл бұрын
great tutorial... coroutines as of now is easy as ABC... 😁🥰
@hlwammoenaing1556
@hlwammoenaing1556 2 жыл бұрын
Firstly, I'm very thank for this video and i want to request to make a tutorial for kotlin work manager because I'm very difficult to understant it.
@smartherd
@smartherd 2 жыл бұрын
Noted!
@truptiparsai9488
@truptiparsai9488 Жыл бұрын
Great explanation. Thanks man. Highly appreciated
@avinashshyam
@avinashshyam 2 жыл бұрын
Amazing Tutorial. Truly high quality !!
@ekalbeli
@ekalbeli Жыл бұрын
thanks for such a nice coroutine tutorial
@rohitdeepu17
@rohitdeepu17 Жыл бұрын
one thing you forgot to mention in async(start = CoroutineStart.LAZY) : the execution becomes sequential.
@ManikantaKondeti
@ManikantaKondeti 2 жыл бұрын
Really good man! Keep publishing such high quality/complex concepts
@AshishGautam-sy3vm
@AshishGautam-sy3vm 2 жыл бұрын
Great Tutorial but where is withContext ???
@26brains
@26brains 7 ай бұрын
Brilliant tutorial! Thank you! 👏👏👏
@erickbressani
@erickbressani Жыл бұрын
This course was great! Thank you for sharing it!
@1990amit
@1990amit Жыл бұрын
It was really helpful to understand coroutine. Thanks a lot!!
@mkathiravanmca
@mkathiravanmca 2 жыл бұрын
Excellent video. Thanks for very much. Please make a video of kotlin Flow will be helepful
@gemmausiku
@gemmausiku 2 жыл бұрын
Thanks for sharing the link with me!
@sulemankhan523
@sulemankhan523 2 жыл бұрын
Course was really good, thanks for making it. it would be really good if examples was more related to android instead of general kotlin
@DustinML
@DustinML Жыл бұрын
very happ to learn from here. Good works!
@zdiscover1
@zdiscover1 Жыл бұрын
Nice explanatin but how are withTimeOut and withTimeoOrNull coroutine builder functions? B ecause when I call them directly, compiler gives error that it should be called from within a coroutine!
Coroutines: Concurrency in Kotlin
30:22
Dave Leeds
Рет қаралды 19 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
5 Fatal Coroutine Mistakes Nobody Tells You About
18:15
Philipp Lackner
Рет қаралды 89 М.
Kotlin Coroutines 101 - Android Conference Talks
24:49
Android Developers
Рет қаралды 138 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 843 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
KotlinConf 2017 - Introduction to Coroutines by Roman Elizarov
45:32
Kotlin Sealed Class (With Demo Source code)
11:17
Smartherd
Рет қаралды 19 М.
Spring + Kotlin = Modern + Reactive + Productive by: Josh Long and James Ward
44:28
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН