Kotlin Coroutine (High-quality Course)

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ต.ค. 2024

ความคิดเห็น • 267

  • @SriyankSiddhartha
    @SriyankSiddhartha 2 ปีที่แล้ว +87

    Comment to support. Thanks!

  • @CorDharel
    @CorDharel 2 ปีที่แล้ว +19

    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

  • @shoaibkhalid6156
    @shoaibkhalid6156 2 ปีที่แล้ว +5

    I regret not watching this video earlier. I truely love the way you teach.
    Thank you so much Sriyank.

  • @u_nknown4O4
    @u_nknown4O4 หลายเดือนก่อน +2

    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..❤️

  • @OceanNoire
    @OceanNoire 9 หลายเดือนก่อน +2

    I'm wondering if there is a better tutorial about this topic. Good job

  • @TabmansTube
    @TabmansTube ปีที่แล้ว +2

    this guy has some serious teaching talent, explained everything to me like I am 5

  • @strongesthumanbeing
    @strongesthumanbeing 2 ปีที่แล้ว +9

    ONE OF THE BEST VIDEOS ON COROUTINES.
    Thank you so much. Loved it!!! 💙

  • @pragyayadav3743
    @pragyayadav3743 ปีที่แล้ว +4

    One of the best video on coroutines . Great job! And many thanks for creating such videos. looking forward for more such contents. 👏

  • @salimsaudagar8208
    @salimsaudagar8208 3 หลายเดือนก่อน

    I have watched many coroutine lectures but this is the first time I have understood coroutine.Amazing video keep uploading this kind of video.

  • @sankarsambangi
    @sankarsambangi 2 ปีที่แล้ว +7

    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 ปีที่แล้ว +1

      that was a mistake

  • @bensekyondwa
    @bensekyondwa 2 ปีที่แล้ว +1

    This tutorial was a great one. After watching it, Coroutines are now an easy concept.

  • @musaib.shabir
    @musaib.shabir 8 หลายเดือนก่อน +2

    Brilliant, Thank You soo much

  • @prasantkumar7693
    @prasantkumar7693 4 หลายเดือนก่อน

    I would like to say thank you for this simple and nice explanation of kotlin coroutines.

  • @mehdiparsaei1867
    @mehdiparsaei1867 หลายเดือนก่อน +1

    I would say it was the best Coroutine explanation. Just a small point, try-catch should be out of withTiimeout block, not inside.

  • @sumitrudra1734
    @sumitrudra1734 4 หลายเดือนก่อน

    Deferred is not a subclass of job .I think we have to say that Deferred is an interface which extends the Job interface.

  • @M.BilalAhmad
    @M.BilalAhmad 2 ปีที่แล้ว +2

    It's hard to believe such content and outstanding presentation is free. Subscribed as a thanx :)

  • @karthikeyan027
    @karthikeyan027 ปีที่แล้ว +3

    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.

  • @mohd.sohaib5822
    @mohd.sohaib5822 ปีที่แล้ว

    Someone recommended this channel.. It's gem 💎

  • @ZondaJazz
    @ZondaJazz 2 ปีที่แล้ว

    The best coroutine tutorial on the Internet! Thanks so much!!!

  • @inafalcaom
    @inafalcaom 5 หลายเดือนก่อน

    You're the best, my friend! Greetings from Brazil!

  • @RaviKumar-vk6ib
    @RaviKumar-vk6ib 2 ปีที่แล้ว

    Bahut badhia padeila pura bujhi heigala couroutine jaaka. God bless!

  • @dydx3741
    @dydx3741 4 หลายเดือนก่อน

    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

  • @HaSeebpjr01
    @HaSeebpjr01 8 หลายเดือนก่อน

    best video about coroutines ever. Thank you for your efforts in making this concept easy to understand.

  • @SanjeevKumar-os3yf
    @SanjeevKumar-os3yf 2 ปีที่แล้ว +4

    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?

  • @michaljanecek1103
    @michaljanecek1103 ปีที่แล้ว

    One of the better courses on TH-cam! Thanks man

  • @ПавелЯкунин-й5т
    @ПавелЯкунин-й5т 2 ปีที่แล้ว

    i live you, it was the best coroutines tutorial i seen yet, THANKS

  • @Ckbagchi
    @Ckbagchi ปีที่แล้ว +1

    It's really good content for beginners like me to understand a powerful feature of Kotlin.

  • @purushothamangempuraj177
    @purushothamangempuraj177 2 ปีที่แล้ว

    This is the clearest of many coroutines videos i have watched! Thanks a ton!

  • @renanfpedro
    @renanfpedro 2 ปีที่แล้ว +1

    Brilliant, the whole course was super concise. Congratulations.

  • @AnkitKumar-vt9pf
    @AnkitKumar-vt9pf 2 ปีที่แล้ว +1

    Sir I realy thank you for teaching us such a difficult topic in easy and simple way.Great work sir.👌👌

  • @theophilus494
    @theophilus494 2 ปีที่แล้ว

    this video was the best I've seen on coroutines explanation. thank you Smartherd

  • @JahidHasanAshik
    @JahidHasanAshik 2 ปีที่แล้ว

    One of the best coroutine tutorial on internet 🖤

  • @ranganathansamraj1596
    @ranganathansamraj1596 3 หลายเดือนก่อน

    Thank you so much for clear explanation about coroutines with slides

  • @nishakhatoon7267
    @nishakhatoon7267 ปีที่แล้ว +1

    Oh my god 😮 the way of explanation is next level❤

  • @nikolanikolic2043
    @nikolanikolic2043 ปีที่แล้ว

    Great job. Just watched this course and I can recommend this to everyone.

  • @faysaldeve385
    @faysaldeve385 ปีที่แล้ว +1

    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.😍😍😍

  • @yusufmd1090
    @yusufmd1090 2 ปีที่แล้ว +3

    Really great content and well explained. Thank you very much.

  • @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 ..

  • @abhishekbharti2131
    @abhishekbharti2131 5 หลายเดือนก่อน

    Thankyou.. This course is very helpful and made the concept clear. Very well explained.

  • @guangliu308
    @guangliu308 7 วันที่ผ่านมา

    Great video. Clearly explained in details.

  • @Karan-ow4wl
    @Karan-ow4wl 29 วันที่ผ่านมา

    One of the best video. Commenting to support.

  • @BikramDas-l6o
    @BikramDas-l6o 7 หลายเดือนก่อน

    One of the best coroutine course.

  • @shivenderkumar4521
    @shivenderkumar4521 2 ปีที่แล้ว

    Best video for coroutines, very smooth and clear explaination. Thank you so much Sriyank💜

  • @rizqyfahmi8343
    @rizqyfahmi8343 2 ปีที่แล้ว +1

    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

  • @ManikantaKondeti
    @ManikantaKondeti 2 ปีที่แล้ว +1

    Really good man! Keep publishing such high quality/complex concepts

  • @abrhot180
    @abrhot180 2 ปีที่แล้ว +1

    Thank you for your explanatory video

  • @prateeksharma5340
    @prateeksharma5340 2 หลายเดือนก่อน

    very nice explanation. Kudos for the efforts you have put 💚

  • @abhisheknigam6975
    @abhisheknigam6975 ปีที่แล้ว

    Excellent course on Coroutine Thanks so much Sriyank for this Course. Thanks a ton

  • @overthehorizon5611
    @overthehorizon5611 2 ปีที่แล้ว

    I like the sudden word "Fine" :)

  • @vincentbattaglia7539
    @vincentbattaglia7539 2 ปีที่แล้ว +1

    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.

  • @aamirkhan-ky3si
    @aamirkhan-ky3si 8 วันที่ผ่านมา

    Love the way you teach ❤

  • @theredd1703
    @theredd1703 ปีที่แล้ว +1

    Thank you so much for your time and effort in make it understandable. We really appreciate it!

  • @crazeeealgorithms3236
    @crazeeealgorithms3236 2 ปีที่แล้ว

    Thats's neat and clean, Thank you for quality content.

  • @rpitpatel1004
    @rpitpatel1004 2 ปีที่แล้ว +1

    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.

  • @LegionXI.
    @LegionXI. 2 ปีที่แล้ว

    A comprehensive guide for kotlin coroutines.👍

    • @smartherd
      @smartherd  2 ปีที่แล้ว

      Plz share in your network. Thanks

  • @vadimbutenko8814
    @vadimbutenko8814 7 หลายเดือนก่อน

    Thank you so much for this tutorial. Very clear and understandable

  • @velturidasarath7420
    @velturidasarath7420 7 หลายเดือนก่อน

    Thank you for clear understanding on coroutine and some more points were added may be useful

  • @kunjeshvirani
    @kunjeshvirani ปีที่แล้ว

    1 Billion thanks for this awesome video.

  • @phoneix24886
    @phoneix24886 2 ปีที่แล้ว

    This is fantastic. I will recommend this tutorial to my juniors.

    • @smartherd
      @smartherd  2 ปีที่แล้ว

      Awesome! Thank you!

  • @1990amit
    @1990amit ปีที่แล้ว

    It was really helpful to understand coroutine. Thanks a lot!!

  • @mandeepraaj4881
    @mandeepraaj4881 7 หลายเดือนก่อน

    Wonderful explanation about kotlin coroutine.

  • @lavkushjaiswal718
    @lavkushjaiswal718 2 ปีที่แล้ว

    Thankyou Sriyank for this video. Nice exploration Coroutine topic.

  • @vikasrana1584
    @vikasrana1584 2 ปีที่แล้ว

    Awesome Work Done Sriyank Sir, keep it more comprehensive

  • @mohsinikram8921
    @mohsinikram8921 2 ปีที่แล้ว +1

    Amazing Tutorial
    No one explain like this

  • @jongxina3595
    @jongxina3595 ปีที่แล้ว

    Best video on coroutines.

  • @truptiparsai9488
    @truptiparsai9488 ปีที่แล้ว

    Great explanation. Thanks man. Highly appreciated

  • @sachinsoni8102
    @sachinsoni8102 ปีที่แล้ว

    Best Video on Coroutines.

  • @saliouseck4263
    @saliouseck4263 8 หลายเดือนก่อน

    Thank's very much it is a very good course making easy to understand coroutine .

  • @ekalbeli
    @ekalbeli 11 หลายเดือนก่อน

    thanks for such a nice coroutine tutorial

  • @rajivbm2239
    @rajivbm2239 ปีที่แล้ว

    Thanks for your wonderful short video

  • @erickbressani
    @erickbressani ปีที่แล้ว

    This course was great! Thank you for sharing it!

  • @26brains
    @26brains 5 หลายเดือนก่อน

    Brilliant tutorial! Thank you! 👏👏👏

  • @nebezberzency5778
    @nebezberzency5778 8 หลายเดือนก่อน +1

    Awesome 🎉

  • @Sreekantbehera07
    @Sreekantbehera07 2 ปีที่แล้ว

    Superb.. Now my maximum concept related to coroutine get cleared. Thanks🙏

  • @mykhailomykytyn
    @mykhailomykytyn 2 ปีที่แล้ว

    That was great 👍 Thanks for the efforts, they're appreciated!

  • @hlwammoenaing1556
    @hlwammoenaing1556 2 ปีที่แล้ว +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.

  • @avinashshyam
    @avinashshyam 2 ปีที่แล้ว

    Amazing Tutorial. Truly high quality !!

  • @mkathiravanmca
    @mkathiravanmca 2 ปีที่แล้ว

    Excellent video. Thanks for very much. Please make a video of kotlin Flow will be helepful

  • @DustinML
    @DustinML ปีที่แล้ว

    very happ to learn from here. Good works!

  • @issaimai
    @issaimai 2 ปีที่แล้ว

    Wonderful video. Beautifully explained!

  • @OudoMohy
    @OudoMohy 2 ปีที่แล้ว +1

    awesome tutorials best one about Kotlin coroutines so far. I get confused about the coroutines scope, coroutine builder with default dispatcher runs on a background thread in the application scope level, i.e during the lifetime of the appliction. the other type of dispatcher likes confined, inheart the context of the parent i.e if the parent runs on the main thread it will also do the same. but in which scope? you mentioned before local scope what do you mean by local scope exactly?

  • @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

  • @gemmausiku
    @gemmausiku 2 ปีที่แล้ว

    Thanks for sharing the link with me!

  • @mehdiparsaei1867
    @mehdiparsaei1867 หลายเดือนก่อน

    Many thanks! Could you please add using of SupervisorJob in CoroutinContext?

  • @DiwakarKumar-qh3bz
    @DiwakarKumar-qh3bz ปีที่แล้ว

    Thank You for making it easy and understandable

  • @techach3490
    @techach3490 2 ปีที่แล้ว

    wow Amazing course... probably the best in TH-cam. I can't thank you enough. 🙏🧡
    edit: not probably but definitely lol.

  • @mubbashirahmed1445
    @mubbashirahmed1445 ปีที่แล้ว

    Excellent job.... well explained

  • @sachinsoni8102
    @sachinsoni8102 ปีที่แล้ว

    Thank you for creating such kind of videos :)

  • @hix0071
    @hix0071 2 ปีที่แล้ว

    Very neat explanation. Keep up the good work

  • @waqarsaeed9295
    @waqarsaeed9295 2 ปีที่แล้ว

    Glad to find you !
    Thanks Love from pakistan..

  • @sunilkumarsc4139
    @sunilkumarsc4139 2 ปีที่แล้ว

    Nice Explanation, Thanks for this video. And one more thing, you look like Ranbir Kapoor.

  • @parveensharma2270
    @parveensharma2270 2 ปีที่แล้ว +1

    Hi, I have reached to chapter 4 , review : good ,nice very clear ...thanks @sid

    • @smartherd
      @smartherd  2 ปีที่แล้ว

      Thanks for review 🙏

  • @kenanhas9404
    @kenanhas9404 11 หลายเดือนก่อน

    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?

  • @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.

  • @bharath7730
    @bharath7730 8 หลายเดือนก่อน

    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).

  • @rohitdeepu17
    @rohitdeepu17 ปีที่แล้ว +1

    one thing you forgot to mention in async(start = CoroutineStart.LAZY) : the execution becomes sequential.

  • @stormz4040
    @stormz4040 2 ปีที่แล้ว

    I'm watching your video. This is a great tutorial. I subscribed to your channel.

    • @smartherd
      @smartherd  2 ปีที่แล้ว

      Thanks. Glad it helped

  • @UnderDogStudioz799
    @UnderDogStudioz799 ปีที่แล้ว

    thank you sir , this really helped me in ample 😇❤

  • @AshishGautam-sy3vm
    @AshishGautam-sy3vm 2 ปีที่แล้ว +1

    Great Tutorial but where is withContext ???