Runnables Threads and Handlers in Android

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

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

  • @ArindamTosh
    @ArindamTosh 4 года назад +7

    Very clearly explained. Helped me a lot for performing heavy work on new threads.Thank You so very much

  • @somnangvirakvonprince
    @somnangvirakvonprince 6 месяцев назад

    your video and explanation is so simple and clear like crystal. thank you sir for taking your time to demonstrate this concept.

  • @rawmetal3052
    @rawmetal3052 3 года назад +3

    Great tutorial, saved me a huge amount of time. Appreciate your hard work man!

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

    Simply and clearly explained,,, now i understand basic concept of Threads Handlers and Runnable....Love from Pak

  • @ts0hari
    @ts0hari 4 года назад +4

    Very well explained from the point of view of coding. I was just looking for this.

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

    Sir , I made a covid-19 India Stats tracker. But downlad task was taking so much time and as it was in main thread my app was crashing at times. Thank you so much for this. Subscribed. Hope will learn more things from you.

  • @anandpai3150
    @anandpai3150 2 года назад +1

    You explained it much clearly, it really helped me a lot . Thanks alot brother😍

  • @Dinesh-vg3sg
    @Dinesh-vg3sg 8 месяцев назад

    Thanks for clearly explaining their uses, would be better if theory was also included.

  • @GK-rc3fd
    @GK-rc3fd 2 года назад

    Perfect example and very well explained. Thank you so much Dude

  • @ramasubramanian3154
    @ramasubramanian3154 4 года назад +4

    Hey, you were awesome explaining the concept very clearly. Your videos are awesome and keep up the same level of quality content. :)

  • @pawandeep313
    @pawandeep313 Год назад +2

    Thanks man to the point explanation ❤

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

    this tutorial was super helpful and informative. thanks alot

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

    Great this help me a lot ! you saved my app !you clear my concept of runnable and handler

  • @razintailor
    @razintailor 2 года назад +1

    Great explanation.
    Nice tutorial

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

    Perfectly explained. Thank you.

  • @mruduladdipalli5417
    @mruduladdipalli5417 2 года назад +1

    Great Explanation, Awesome

  • @00infinity39
    @00infinity39 4 года назад +1

    very clear and concise explanation.. tnx

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

    Fabulous. Mind blowing.
    Really really thank you for sharing this video

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

    Clearly explained thank you

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

    dil jeet liya ❤️❤️👍

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

    Amazing Video..Great Explanation

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

    Thank you sir, Video cleared my concept

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

    I am new your chanel. ..it's amazing explanation. ...if u make androids Executor full concept then I am very happy. ....again your all content is good

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

    Excellent example sir ..

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

    great video, helped a lot!

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

    such an awesome video, thanks a lot.

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

    Handler class's empty constructor is deprecated, now what to do Sir ???

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

    really helpfull. thanks!!

  • @sayyedaamer9243
    @sayyedaamer9243 5 лет назад

    Its very help full. Thank you so much.
    Please make a video on asynctask, how it use, working multiple asynctask etc. How to hold asynctask untill we do some operations and then make delays. For example if we are fetching data from api, and want to get permission for accessing resources like memory or camera and we have to do these operations on splash screen so how we can do that.
    Please make a video or suggest some thing.

    • @mafiacodes
      @mafiacodes  5 лет назад

      AsyncTask video coming tomor 😊
      For permission you can watch Runtime Permissions Android | Required from API 23 and above ruclips.net/video/WZhEroL4P7s/видео.html
      Subscribe Like Share

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

    Runnable is not a class, but an interface. You created an anonymous class and referred it using a Runnable reference.

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

      Yes agreed that is a fault

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

    Perfect!

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

    Thankyou sir

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

    its quite a bit of time since ur last such video on youtube...

  • @srprawinraja4261
    @srprawinraja4261 11 месяцев назад

    thanks :)

  • @brawnie3969
    @brawnie3969 8 месяцев назад

    Good video

  • @krishnagupta...
    @krishnagupta... Год назад

    Clicking the button several times will create a lot of threads
    I want only 2 thread
    One main
    And another
    Downloading thread

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

    Why use synchronized keyword pls explain

  • @CodingMyWayUp
    @CodingMyWayUp Год назад +1

    awesome

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

    when I put a Toast command in a run method and got error saying it's not allowed inside a thread

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

      All UI updates should be done from the main ui thread

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

    what is synchronized ? and is it mandatory to use synchronized method ?

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

      A synchronised block is that which is only accessible to a single thread at a time, if any other thread tries to use it, it will be kept waiting until the initial thread has completed.
      Is it mandatory? Depends on ur use case. Her is one use case you can watch the video.
      You can watch more here to know when to use it:Singletons | What When How 🔥 ruclips.net/video/vSxKnvxe8v0/видео.html

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

    why did you change the name of the channel man?

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

      I felt so, yoursTruly was not easy to remember...

  • @jivanmainali1742
    @jivanmainali1742 5 лет назад

    Sir how object runnable is created this way
    Runnable runnable=new Runnable()curly bracses
    Public void run ()

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

      its an anonymous class....providing implementation for interface Runnable.

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

    runnable is not a class ..it is a interface

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

    Thanks bhaiya, but if you can this in hindi than it would be much easier to understand

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

      i'll try bro, but its difficult since most of the subscribers do not understand hindi.

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

      @@mafiacodes ohk

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

    haikeyi