Runnables Threads and Handlers in Android

  Рет қаралды 36,713

Mafia Codes

Mafia Codes

5 жыл бұрын

In this video you will learn what is a #handler #thread and #runnable, and how to use each one of them.
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! www.kite.com/get-kite/?...
FREE $100 credit @Digital Ocean: m.do.co/c/3208f08b3324
Patreon: / trulymittal
Subscribe: kzfaq.info...
Github(Tutorial): github.com/trulymittal/Runnab...
---------------
What I use
---------------
Mouse: amzn.to/2O9RJtu
Keyboard: amzn.to/2qxajCU
Keyboard 2: amzn.to/2XDWH4X
Monitor: amzn.to/2pDg7dH
Processor: amzn.to/347WWIb
RAM: amzn.to/2QEkUqw
Graphics: amzn.to/33aBrF4
Microphone: amzn.to/2DabdI9
#yoursTruly #programming #tutorial #how-to #android #java

Пікірлер: 59
@ArindamTosh
@ArindamTosh 3 жыл бұрын
Very clearly explained. Helped me a lot for performing heavy work on new threads.Thank You so very much
@rawmetal3052
@rawmetal3052 2 жыл бұрын
Great tutorial, saved me a huge amount of time. Appreciate your hard work man!
@user-ct8yf3wd2g
@user-ct8yf3wd2g 2 ай бұрын
your video and explanation is so simple and clear like crystal. thank you sir for taking your time to demonstrate this concept.
@anandpai3150
@anandpai3150 2 жыл бұрын
You explained it much clearly, it really helped me a lot . Thanks alot brother😍
@muhammadwaseemasghar2104
@muhammadwaseemasghar2104 3 жыл бұрын
Simply and clearly explained,,, now i understand basic concept of Threads Handlers and Runnable....Love from Pak
@ramasubramanian3154
@ramasubramanian3154 3 жыл бұрын
Hey, you were awesome explaining the concept very clearly. Your videos are awesome and keep up the same level of quality content. :)
@mannapijush
@mannapijush 4 жыл бұрын
Great this help me a lot ! you saved my app !you clear my concept of runnable and handler
@ts0hari
@ts0hari 4 жыл бұрын
Very well explained from the point of view of coding. I was just looking for this.
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@GK-rc3fd
@GK-rc3fd Жыл бұрын
Perfect example and very well explained. Thank you so much Dude
@matejazec395
@matejazec395 2 жыл бұрын
Perfectly explained. Thank you.
@smtusharibnesalam8688
@smtusharibnesalam8688 4 жыл бұрын
Fabulous. Mind blowing. Really really thank you for sharing this video
@pawandeep313
@pawandeep313 Жыл бұрын
Thanks man to the point explanation ❤
@guranshsingh2868
@guranshsingh2868 Жыл бұрын
this tutorial was super helpful and informative. thanks alot
@00infinity39
@00infinity39 3 жыл бұрын
very clear and concise explanation.. tnx
@anveri867
@anveri867 2 жыл бұрын
Clearly explained thank you
@mruduladdipalli5417
@mruduladdipalli5417 2 жыл бұрын
Great Explanation, Awesome
@razintailor
@razintailor Жыл бұрын
Great explanation. Nice tutorial
@raipurianfooddiary4275
@raipurianfooddiary4275 3 жыл бұрын
Amazing Video..Great Explanation
@randhir2126
@randhir2126 3 жыл бұрын
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.
@mafiacodes
@mafiacodes 3 жыл бұрын
Glad u like
@nhanhuynh2443
@nhanhuynh2443 3 жыл бұрын
such an awesome video, thanks a lot.
@samirmishra7994
@samirmishra7994 3 жыл бұрын
Thank you sir, Video cleared my concept
@mafiacodes
@mafiacodes 3 жыл бұрын
Glad to hear that
@P0K0
@P0K0 3 жыл бұрын
dil jeet liya ❤️❤️👍
@Dinesh-vg3sg
@Dinesh-vg3sg 3 ай бұрын
Thanks for clearly explaining their uses, would be better if theory was also included.
@kishortalukdar4441
@kishortalukdar4441 4 жыл бұрын
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
@tahielgomez
@tahielgomez 8 ай бұрын
really helpfull. thanks!!
@DansHobbies
@DansHobbies 2 жыл бұрын
great video, helped a lot!
@mafiacodes
@mafiacodes 2 жыл бұрын
Subscribe like share
@himanshukhantwal3077
@himanshukhantwal3077 2 жыл бұрын
Excellent example sir ..
@mafiacodes
@mafiacodes 2 жыл бұрын
Subscribe like share
@avneetsingh2010
@avneetsingh2010 2 жыл бұрын
Perfect!
@dhanushsivajaya1356
@dhanushsivajaya1356 4 жыл бұрын
Thankyou sir
@sayyedaamer9243
@sayyedaamer9243 4 жыл бұрын
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 4 жыл бұрын
AsyncTask video coming tomor 😊 For permission you can watch Runtime Permissions Android | Required from API 23 and above kzfaq.info/get/bejne/jcCYeNWgsZq0Z6c.html Subscribe Like Share
@srprawinraja4261
@srprawinraja4261 7 ай бұрын
thanks :)
@RoastedRoastedChana
@RoastedRoastedChana 3 жыл бұрын
Handler class's empty constructor is deprecated, now what to do Sir ???
@brawnie3969
@brawnie3969 3 ай бұрын
Good video
@CodingMyWayUp
@CodingMyWayUp 10 ай бұрын
awesome
@asiis181
@asiis181 2 жыл бұрын
its quite a bit of time since ur last such video on youtube...
@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 🔥 kzfaq.info/get/bejne/rLmoftGn3cucpmQ.html
@justananonymous1350
@justananonymous1350 Жыл бұрын
Why use synchronized keyword pls explain
@himanshuladia9099
@himanshuladia9099 4 жыл бұрын
Runnable is not a class, but an interface. You created an anonymous class and referred it using a Runnable reference.
@mafiacodes
@mafiacodes 4 жыл бұрын
Yes agreed that is a fault
@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
@krishnagupta...
@krishnagupta... Жыл бұрын
Clicking the button several times will create a lot of threads I want only 2 thread One main And another Downloading thread
@jivanmainali1742
@jivanmainali1742 4 жыл бұрын
Sir how object runnable is created this way Runnable runnable=new Runnable()curly bracses Public void run ()
@gauravjaiswar5667
@gauravjaiswar5667 4 жыл бұрын
its an anonymous class....providing implementation for interface Runnable.
@pstlvictoras
@pstlvictoras Жыл бұрын
why did you change the name of the channel man?
@mafiacodes
@mafiacodes Жыл бұрын
I felt so, yoursTruly was not easy to remember...
@yuumu2208
@yuumu2208 2 жыл бұрын
haikeyi
@finvest01
@finvest01 2 жыл бұрын
Thanks bhaiya, but if you can this in hindi than it would be much easier to understand
@mafiacodes
@mafiacodes 2 жыл бұрын
i'll try bro, but its difficult since most of the subscribers do not understand hindi.
@finvest01
@finvest01 2 жыл бұрын
@@mafiacodes ohk
@akshayrohilla7729
@akshayrohilla7729 4 жыл бұрын
runnable is not a class ..it is a interface
AsyncTasks | What When How in Android
16:59
Mafia Codes
Рет қаралды 18 М.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Software Developer Diaries
Рет қаралды 73 М.
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 40 МЛН
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 21 МЛН
He sees meat everywhere 😄🥩
00:11
AngLova
Рет қаралды 11 МЛН
Predicting YouTube Trends with Artificial Intelligence
10:50
YouTubeMasteryHQ
Рет қаралды 3
Explained - Android UI thread/main thread
6:34
Codetutor
Рет қаралды 68 М.
FRAGMENTS - Android Fundamentals
17:29
Philipp Lackner
Рет қаралды 325 М.
RecyclerView item Click using Interface | Advanced Way | Android
7:01
Bound Services on Android
43:00
CodingWithMitch
Рет қаралды 61 М.
Singletons | What When How 🔥
7:30
Mafia Codes
Рет қаралды 31 М.
Explained - Android Looper and handler
6:25
Codetutor
Рет қаралды 61 М.
Learn Android Multithreading
40:30
Unusual Code
Рет қаралды 1,1 М.
THIS Is How You Schedule Alarms on Android with AlarmManager
21:55
Philipp Lackner
Рет қаралды 36 М.