Kotlin Coroutine Builders - Launch vs Async Hindi | Async Await - CheezyCode

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ก.ย. 2024

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

  • @shreyashachoudhary480
    @shreyashachoudhary480 ปีที่แล้ว +12

    Trust me this deserves millions of views!

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

    Feels like your personal tutor who understands your language. Great job ♥️

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

      Thank you! 😃

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

    I was always scared of using coroutine. Thanks for explaining so nicely. Now I can use it. Nicely explained. Thank you 🙏

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

    Easy.Simple.Crisp coverage of topic. Great Work. Thank you.

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

    I was always confused about launch vs async and await. Trying to understand why they exists if there are counterparts available for them. And i found most of the articles/videos to be wither highly complex or completely therotical. You just made the entire concept so easy with your explanations and examples. I finally understood every bits and pieces of the code that i wrote till now and it will help me a lot in my career as an Android Developer. I can't thank you enough for what you're doing. Thank you so so much :)

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

    Damn good tutorial, and the best part is it's in Hindi. Great work for the language. Keep up the good work. India and Indians needs this. ... Thanks

  • @jasolsodha7569
    @jasolsodha7569 3 ปีที่แล้ว

    Dhanivad, video ke lye ab Launch vs Async Await ka concept clear ho gya he

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

    Thank you so much sir for explaining the concept of async-await thoroughly. When I was learning async-await concept in JavaScript, I was unable to understand the details of that concept and just memorised the syntax but today I've managed to learn the details of this concept which I've been looking for 1 year so far. Thank you so much again.

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

    This is another one of those moments where I feel grateful that I know Hindi. I'm a Keralite. Thank you for the awesome content sir.

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

      It's my pleasure

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

    It's one of the best explnation one can find ... 👏👏

  • @NishaKumari-tz9hi
    @NishaKumari-tz9hi 8 หลายเดือนก่อน

    Amazing series of Kotlin , thank for teaching .

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

    amazing explanation sir.

  • @PardeepBathla-ru1ko
    @PardeepBathla-ru1ko ปีที่แล้ว

    Thanks for clean and clear explanation. Keep up the Good Work.

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

    great explanation 🔥

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

    Thanks for these amazing tutorials.❤️

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

    Superb, now I clear this concept thanks 🙏

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

    Now I can use it. Nice explaine. Thank you sir g thank u

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

    bro you deserve Respect++++++++++++++++++++

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

    Super Sir ,Great Tutorial so far ,Thanks 🙏

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

    wow!!!
    Eventually I have found the awesome tutorial .
    Thank you sir :)

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

    Thorough explanation

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

    Very well explained bro, Thanks

  • @user-sh9oe6vc2e
    @user-sh9oe6vc2e ปีที่แล้ว

    Great playlist. Couldnt find your outro in shorts tho. Sounds cool upload please!

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

      Thanks...outro in house will be releasing it soon.

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

    clearly explain thanks

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

    Thank you so much sir

  • @yashkumar9501
    @yashkumar9501 3 ปีที่แล้ว

    Thank you sir, crystal clear explanation

    • @CheezyCode
      @CheezyCode  3 ปีที่แล้ว

      Thank you Yash 😊

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

    Awesome Explain Brother ❤

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

    awesome understanding man

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

    you deserve million views

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

    so good

  • @islamicinsightbysaifi
    @islamicinsightbysaifi 3 ปีที่แล้ว

    Bhai sahab itni clearity se aaj tak kisi ko padhate huye nahi dekha 👍

    • @CheezyCode
      @CheezyCode  3 ปีที่แล้ว

      Thank you Saifi 😊

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

    you are king

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

    Loving this series please make one series on dagger

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

    just one question - when you use 2 async statements inside a coroutine, are there two threads being used or just one?

  • @Nikhil-Gupta
    @Nikhil-Gupta ปีที่แล้ว

    Cheezy nahi makkhan 😋, boleto maska... ekdum

  • @islamicinsightbysaifi
    @islamicinsightbysaifi 3 ปีที่แล้ว

    Bole to ekdum zhakaas

  • @islamicinsightbysaifi
    @islamicinsightbysaifi 3 ปีที่แล้ว

    Bahut khoob

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

    You’re just awesome

    • @CheezyCode
      @CheezyCode  3 ปีที่แล้ว

      Thank you Aravind 😊

  • @sunildangi1228
    @sunildangi1228 3 ปีที่แล้ว

    Thanks you sir, nice explanation

    • @CheezyCode
      @CheezyCode  3 ปีที่แล้ว

      Thank you Sunil...Cheers bro

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

    Thanks

  • @chetantailor3620
    @chetantailor3620 3 ปีที่แล้ว

    Nicely Explained !!

    • @CheezyCode
      @CheezyCode  3 ปีที่แล้ว

      Thank you Chetan 😊

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

    Hey .Thanks .
    Question - At 14:45 .. line 21 is showing 1 "launch" and inside that 2 "async" blocks.
    How many coroutines are running here ? If only 1 by "launch", then how will async parallelize ?
    I am just learning and seeking. Appreciate your answer.

  • @rkthebeast6910
    @rkthebeast6910 3 ปีที่แล้ว

    U never disappoint...

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

      Thank you brother 😊

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

    thankyou sir

  • @jawadahmed7150
    @jawadahmed7150 3 ปีที่แล้ว

    thank you sir

    • @CheezyCode
      @CheezyCode  3 ปีที่แล้ว

      Thanks - playlist is already there with 4 videos

  • @VishalPatel-tk1xj
    @VishalPatel-tk1xj 2 ปีที่แล้ว

    Superrbbb...
    Great Example Skills...
    Can I expect a dependency injection tutorial?

  • @tabishkhan2012
    @tabishkhan2012 3 ปีที่แล้ว

    Welcome back ☺️

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

      Thank you 😊

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

    Best playlist on this topic (coroutine) ,,,btw bg song name???

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

      Thank you...bas release karenge jaldi he

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

    awesome

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

    Thanks for explaining! Si, I have a question, how to stop or cancel a global scope coroutine from another fragment or activity. for example ....Fragment/Actiivty "A" start a GlobalScope Coroutine and i want to stop that coroutine from another fragment/Activity.

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

      use lifecyclescope...avoid GlobalScope

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

    Hi Sir,
    I loved your explanation in this video and playlist.
    But I have one doubt that job.join thing is not working with actual API calls whereas it is working fine with delay() method that you implemented.
    Can you please show me or teach me how to wait for api response and then only execute some code after that?
    Thanks in advance.

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

      it should work...will get back to you on this with an example

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

    And if u r not used concept of launch with async then i think we reached at same point from where we were started beacuse again we have to wait for the execution as we did in the directly thread m i right ??

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

    sir, is this coroutinescope function got deprecated coz it's showing wrong parameter found
    Required:suspend CoroutineScope.() → TypeVariable(R)
    Found:CoroutineDispatcher ?

  • @o.z.sidd.
    @o.z.sidd. ปีที่แล้ว

    ♥️

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

    What is the use of coroutine if we can use zip in retrofit for asynchronous call with enqueue method?

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

      Feature vs Framework

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

    Hello sir,
    Can I use the RxJava as API calling with your mvvm demo? I have tried to use Rxjava return api call as Observable with suspend modifier then it's showing me an error. Could you please make one video about the difference between using coroutine, Rxjava nd Asnychnous api callling library like volley and such thing?
    Error: Failed to invoke public io.reactivex.rxjava3.core.Observable() with no args

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

      If you are using RxJava then you don't need to use Coroutines. So suspend modifier should be omitted. Planning a simple example using RxJava - stat tuned

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

      @@CheezyCode Thank you sir. Your comment makes more clear about my doubts.

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

    But we already studied that threads we created are costly so here at last you are created too many threads working independently for execution of coroutine so how it is possible ????

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

      Thread pool ka concept hai....issi pool se threads use hote hai...toh extra threads create nahi hote...hope this answers your question

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

      @@CheezyCode yeah😊

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

    Yaar ye assync await concept javascript se liye hai kya😉😉😉

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

      Nhi C# se...JS ka bhi wahi se ijaat hua h

  • @abromioitis
    @abromioitis 3 ปีที่แล้ว

    Bhaiya iss series mai aur kitna videos aayangi

    • @CheezyCode
      @CheezyCode  3 ปีที่แล้ว

      1 ya 2

    • @codetheandroid
      @codetheandroid 3 ปีที่แล้ว

      @@CheezyCode iske baad konsi series ane wali h bhai

    • @CheezyCode
      @CheezyCode  3 ปีที่แล้ว

      DI

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

      @@CheezyCode bro ek baat aur btao jo networking wala hota h apna kaam jaisa api se data fetch krnma usko background me run krna chahiye fir hm usko recycler view me show krte h ...pr jb phone ko rotate krte h data dubara load hota h ...to bhai vo bhi cover kiya h kya aapne?

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

      Data viewmodel mei rakho...dobara api call ki need nahi hogi...viewmodel maintain karke rakhega

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

    💖

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

      Thank you....kaafi dino baad dikhe 😁