Supervisor Job (Kotlin Coroutines)

Поділитися
Вставка
  • Опубліковано 11 тра 2020
  • The best Android courses in the world: codingwithmitch.com/
    In this video I talk about a special Kotlin coroutines job called supervisor job. Children of a supervisor job can fail independently of each other.
    A failure or cancellation of a child does not cause the supervisor job to fail and does not affect its other children, so a supervisor can implement a custom policy for handling failures of its children.
    Code: github.com/mitchtabian/Kotlin...
    Instagram: / codingwithmitch
    Twitter: / mitch_tabian
    .
    .
    #codingwithmitch
  • Наука та технологія

КОМЕНТАРІ • 59

  • @thearpansircar
    @thearpansircar 3 роки тому +1

    Me to UA-cam: I like these videos and they are good.

  • @ratnakarjha7716
    @ratnakarjha7716 3 роки тому +1

    Awesome video again Mitch, I couldn't stop myself once I have started your Coroutine series....Keep it up 👍

  • @anshsachdeva2013
    @anshsachdeva2013 2 роки тому

    i finally finished these videos. thank you so much mitch!

  • @amitkorade6594
    @amitkorade6594 2 роки тому

    I have watched a few of your videos and they really help me get deeper into the concepts. It's a really great job you are doing.

  • @faizandarwesh7867
    @faizandarwesh7867 4 роки тому +1

    Awesome explanation. Surely gonna used that in future.

  • @smit7688
    @smit7688 4 роки тому

    Got a very clear understanding on coroutine .Before watching your video i use to think coroutine is hard t . Completly changed my perspective and knowledge.
    Thanks a lot

  • @pratiksaluja2049
    @pratiksaluja2049 3 роки тому

    This tutorial helped me very much to learn coroutine. I was nothing when I started, now I'm much confident how to use coroutine in app.

  • @aloksharma1214
    @aloksharma1214 3 роки тому

    Thanks Mitch for a nice tutorials.

  • @bro_chenzox
    @bro_chenzox 3 роки тому

    Great as always!

  • @Call_me_buddy
    @Call_me_buddy 3 роки тому

    totally like it mitch

  • @KIRILLINGUSS21
    @KIRILLINGUSS21 3 роки тому

    Ты самый крутой! Обожаю смотреть твои видео

  • @muhammadhumzakhan9888
    @muhammadhumzakhan9888 3 роки тому

    Awesome Mitch 🙌👏

  • @techmarinar
    @techmarinar 2 роки тому

    Thank you very much for this great series😍👍

  • @safwenchaieb2915
    @safwenchaieb2915 3 роки тому

    thank you , you're amazing

  • @user-de8iu6vw6g
    @user-de8iu6vw6g 3 роки тому

    thank you, nice explanation

  • @sanushradalage4091
    @sanushradalage4091 4 роки тому +3

    Awesome Mitch. On the past week, I was blocked with this

  • @jaserq
    @jaserq 2 роки тому

    thank you talented guy !

  • @blackballization
    @blackballization 2 роки тому

    Thank you for the helpful tutorial

  • @haykmkrtchyan7093
    @haykmkrtchyan7093 2 роки тому

    This series are awesome :3

  • @poriyaabdollahi5554
    @poriyaabdollahi5554 3 роки тому

    Thanks for the Course :)

  • @ChrisAthanas
    @ChrisAthanas 3 роки тому

    Useful explanation

  • @manjunathkodihal7451
    @manjunathkodihal7451 8 місяців тому

    Nice explanation👌

  • @----3154
    @----3154 2 роки тому

    good tutorial❤

  • @sallyweaver2976
    @sallyweaver2976 4 роки тому

    hi mitch! first off a big fan! learned a lot from you. keep up the good work. a question though! i was looking into that clean architecture course, looks amazing. was looking into subscription but im more interested in test driven development. my question is in that course. do you teach how to write tests too?? i mean i know how to write simple tests but the for whole project and complicated tests. thts beyond my grasp! so would clean architecture course help?

  • @vimalv6341
    @vimalv6341 3 роки тому

    i most of the time watch your video only for learning android

  • @dmytromarchuk3023
    @dmytromarchuk3023 3 роки тому +1

    I like your videos. It's 99.9k subscribers. Get ready for the Button!

  • @jedikv
    @jedikv 3 роки тому

    Nice video - you think there's a reason not to use them as default (outside of some really simple scenarios)?

  • @foreverrafs
    @foreverrafs 4 роки тому +1

    ❣️❣️

  • @fahrican9708
    @fahrican9708 3 роки тому +1

    Good video, thanks! Maybe you could do video series about Unit Tests with Coroutines

    • @codingwithmitch
      @codingwithmitch  3 роки тому +2

      Tons of testing with coroutines in this course codingwithmitch.com/courses/android-clean-architecture/

    • @fahrican9708
      @fahrican9708 3 роки тому

      @@codingwithmitch I will check it out, thanks!

  •  2 роки тому

    Nice job! I think for clear, we should pass "handler" to parent job instead of passing it to every single child job.

  • @TuanBuianonymous
    @TuanBuianonymous Рік тому

    please make video about coroutine flow, sir

  • @jontydahat7024
    @jontydahat7024 4 роки тому +2

    How to get *thumbnail from video url* in android studio(java)...
    Sir please help me...🙏🙏🙏

  • @SimoneLeoni
    @SimoneLeoni 3 роки тому +1

    You could achieve the same result putting the handler on the parentJob, so why using a supervisorjob?

  • @prasuguna
    @prasuguna 4 роки тому

    Can u please create a video on multiparty concept in retrofit

    • @codingwithmitch
      @codingwithmitch  4 роки тому

      I show you in this course codingwithmitch.com/courses/powerful-android-apps-with-jetpack-architecture/
      We send images to a server.

  • @ChrisAthanas
    @ChrisAthanas 3 роки тому

    Engagement for warpeth drivesth

  • @ayoubmazrou8800
    @ayoubmazrou8800 4 роки тому

    Thank you a lot for this content, I have a question, how can I create a recyclerview of videos or images or text, also we can have a multiple images on one item?? It's like the Facebook home, please if you can do a video for this

    • @codingwithmitch
      @codingwithmitch  4 роки тому +1

      I believe For multiple items you can use a viewpager in the list items.

  • @ducpt4651
    @ducpt4651 4 роки тому

    Can you make a video about using Coroutines to do Android in-app purchase? Thanks a lot!

    • @codingwithmitch
      @codingwithmitch  4 роки тому

      Its just in app purchases. But you use a coroutine. Not much nuance there.

  • @theai06
    @theai06 Рік тому

    try and catch and supervisor job had the same result what's the difference

  • @harshilkakadiya7633
    @harshilkakadiya7633 3 роки тому

    It is good to use Supervisor but let's say if we have 3 job inside supervisor and any one job throws exception then how would I know exception is thrown by which job ?
    If we could know that then please give example ?
    Thank you making this video. :)

  • @woodenspoon2658
    @woodenspoon2658 4 роки тому

    You have great videos but you dont make a collection of kotlin converted old videos.That would be great

  • @savin1999
    @savin1999 4 роки тому +1

    It would've been nice if you had used the actual yellow helmet instead of photoshopping one. I think I had seen a helmet when you were doing some work with your family outside your residence.

  • @dev_jeongdaeri
    @dev_jeongdaeri 4 роки тому +2

    Nice thumbnail 🤣

  • @mmahdisz
    @mmahdisz 3 роки тому

    Highest Quality Tuts Available! ✨

  • @dmytromarchuk3023
    @dmytromarchuk3023 3 роки тому

    Don't know why your videos about coroutines have few number of views. It must be more!

  • @SelvaKumar-lj4gb
    @SelvaKumar-lj4gb 4 роки тому +5

    Is there way to do multiple likes? ☺️

  • @Bozacar
    @Bozacar 4 роки тому

    Kotlin Coroutines have most confusing api

  • @HienNguyen-xn7tr
    @HienNguyen-xn7tr 4 роки тому

    first

  • @sub_zero_911
    @sub_zero_911 4 роки тому

    kotlin is weird, i love dart and java more