Runnables Threads and Handlers in Android

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

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

  • @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 7 หลายเดือนก่อน

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

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

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

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

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

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

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

    • @mafiacodes
      @mafiacodes  4 ปีที่แล้ว

      Subscribe like share

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

  • @GK-rc3fd
    @GK-rc3fd 2 ปีที่แล้ว

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

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

    Thanks man to the point explanation ❤

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

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

  • @Dinesh-vg3sg
    @Dinesh-vg3sg 9 หลายเดือนก่อน

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

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

    this tutorial was super helpful and informative. thanks alot

  • @00infinity39
    @00infinity39 4 ปีที่แล้ว +1

    very clear and concise explanation.. tnx

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

    Thank you sir, Video cleared my concept

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

      Glad to hear that

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

    Perfectly explained. Thank you.

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

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

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

    Clearly explained thank you

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

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

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

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

    Amazing Video..Great Explanation

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

    Great Explanation, Awesome

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

    Excellent example sir ..

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

      Subscribe like share

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

    dil jeet liya ❤️❤️👍

  • @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 th-cam.com/video/WZhEroL4P7s/w-d-xo.html
      Subscribe Like Share

  • @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 🔥 th-cam.com/video/vSxKnvxe8v0/w-d-xo.html

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

    great video, helped a lot!

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

      Subscribe like share

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

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

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

    such an awesome video, thanks a lot.

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

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

    Why use synchronized keyword pls explain

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

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

    really helpfull. thanks!!

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

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

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

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

    Thankyou sir

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

    Good video

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

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

    thanks :)

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

    Perfect!

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

    runnable is not a class ..it is a interface

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

    awesome

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

    haikeyi