Kotlin Coroutines: Getting Started in Android - Beginner Tutorial

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 60

  • @jayeshsuthar5590
    @jayeshsuthar5590 4 года назад +15

    Hey Rahul, you're doing great... Yes we want more videos on the topic as you explain cleanly and concisely, Thank You 🤗🤟

    • @RahulPandeyrkp
      @RahulPandeyrkp  4 года назад +2

      Thanks Jayesh, and I've made note of your feedback 😊

  • @valudax00
    @valudax00 4 года назад +3

    I don't comment often, but this video was very informative and well structured, great work!

    • @RahulPandeyrkp
      @RahulPandeyrkp  4 года назад

      Thanks so much, I really appreciate that.

  • @BHARATGARANDE
    @BHARATGARANDE 3 года назад +1

    Yes, we want more videos on the topic as you explain cleanly and concisely, Thanks.....

  • @ArpitRastogi
    @ArpitRastogi 4 года назад

    At first, I was like i know coroutines and I don't need to see this and then I saw it and now I know coroutines better. Thanks

    • @RahulPandeyrkp
      @RahulPandeyrkp  4 года назад +1

      Wow, that's high praise, thank you Arpit.

  • @barameerakkoonmongkon3735
    @barameerakkoonmongkon3735 3 года назад

    Great Video! I have been learning android+kotlin for a while now and the main challenge is most resources in the internet don't rly suit my learning style, but ur videos do!.

  • @claymotupalli4513
    @claymotupalli4513 4 года назад

    This helped me to understand coroutines even better! Thank you! God bless you!

  • @dipanzan
    @dipanzan 4 года назад +2

    Thank you so much Rahul! It would be really awesome if you could give some directions about the last point "Fitting coroutines into your app architecture" or maybe a video in the future if that's possible. Thanks a bunch!

    • @RahulPandeyrkp
      @RahulPandeyrkp  4 года назад +1

      definitely! I went through the Google codelab which was pretty helpful (MVVM architecture): codelabs.developers.google.com/codelabs/kotlin-coroutines/index.html
      I'll keep this in mind as a video idea! There's a lot more to talk about with coroutines.

  • @csanid1
    @csanid1 Год назад

    super clear and helpful explanation as always, thank you so much!

  • @varshabhatia5487
    @varshabhatia5487 4 года назад +1

    Good work. Your videos are really very helpful & easy to understand the concept. Will definitely waiting for other videos 👍🏻

  • @humanistBro
    @humanistBro 4 года назад

    I Was Really waiting for this video. Thanks Sir

    • @RahulPandeyrkp
      @RahulPandeyrkp  4 года назад +1

      I've also been waiting for this video 😂

  • @ADITYAKUMARking
    @ADITYAKUMARking 3 года назад

    very concise and clear. Please make videos on kotlin design patterns.

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 года назад

      Thanks! I have a few more videos about Kotlin

  • @sooshil
    @sooshil 3 года назад

    Nice explanation with example. Great work. 👍

  • @devOmarAZ
    @devOmarAZ 4 года назад

    Very simple and great example thx

  • @tanishnahata6830
    @tanishnahata6830 3 года назад

    That was great content, Rahul! I would request you to do videos or point me toward resources for the extra topics you mentioned at the end of the video.

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 года назад

      Thanks Tanish! I've found the Kotlin docs about coroutines to be pretty good: kotlinlang.org/docs/coroutines-overview.html

  • @ramvashishtha7482
    @ramvashishtha7482 4 года назад +3

    Rahul sir please make projects tutorials including advance topics like MVVM, Dagger , Dependency Injection, etc. in Kotlin.
    Sir fortunately we got time due to this pandemic, as we have to submit college projects.
    Please sir🙏

    • @RahulPandeyrkp
      @RahulPandeyrkp  4 года назад +2

      Thanks for the feedback, let me see what would be interesting 😊

  • @sudarshanthite5937
    @sudarshanthite5937 2 года назад

    Very nice

  • @sriramsantosh1987
    @sriramsantosh1987 4 года назад

    Great video, keep them coming!

  • @dyenaldinesh8330
    @dyenaldinesh8330 Год назад

    nice work

  • @melaniedura7052
    @melaniedura7052 4 года назад +1

    Thanks Rahul for the great content. It'd be really good if you could make a video on how to implement this with CLEAN architecture, repository pattern, flow and liveData

  • @shivenderkumar4521
    @shivenderkumar4521 3 года назад

    Nice, you explained it very clearly great 👍

  • @mihirk953
    @mihirk953 4 года назад

    Thanks a lot for this informative video!

  • @nomadicviewer3050
    @nomadicviewer3050 4 года назад +2

    Thanks brother

  • @avirias
    @avirias 4 года назад

    Great work

  • @vengateshm2122
    @vengateshm2122 3 года назад

    Amazing!

  • @charannarukulla8122
    @charannarukulla8122 4 года назад

    Very interesting and informative.

  • @devOmarAZ
    @devOmarAZ 4 года назад

    Plz make more videos step by stem to advanced topics

  • @sanjaysinghbisht9211
    @sanjaysinghbisht9211 4 года назад

    Awesome explanation and secret of behind speaking fluent English with native tongue ?

  • @Mohit-gb9dv
    @Mohit-gb9dv 2 года назад

    Cool

  • @Mohit-il9gx
    @Mohit-il9gx 2 года назад

    Error
    Retrofit Annotation not found (Pram #2) ..?

  • @ThePujjwal
    @ThePujjwal 3 года назад

    Have a question at timestamp 4:10 line # 67 in code shown. You mentioned "finally back on the main thread" How did you get back to main thread ? Is the onResponse Method on line # 60 executed in main thread ? I am unable to understand how you switched from background thread (where API call was made) to main thread. Or am I missing something basic here ?
    On line #67 i tried to put
    println(Thread.currentThread().id)
    But that didnt printed "main". So are we really back to main thread ?

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 года назад

      Retrofit will invoke the callback method in the main thread - this is not something I did. (the actual network request + JSON parsing will happen in a background thread).
      What do you see when you print the name of the thread? Thread.currentThread().name

  • @jeffrowe6004
    @jeffrowe6004 7 месяцев назад

    key comment, "simple and light thread" all you are doing is taking out all of the error handling function. Most of those "60" lines of code are error handling giving you information back. Now when you get an error you have nothing telling you why.

  • @SuboptimalEng
    @SuboptimalEng 4 года назад

    Still waiting for that "Ex-Stanford, Ex-Pinterest" name drops in your thumbnails and titles

    • @RahulPandeyrkp
      @RahulPandeyrkp  4 года назад +3

      ahahaha I was leaving that for the few people who venture over to the "About" section 😇

  • @5211486
    @5211486 3 года назад

    it is not a beginner tutorial. kindly make a simple start. i am skipping.

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 года назад

      sorry this didn't work for you. Can you share an example of what you consider a good beginner tutorial?