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.
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.
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
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
Very clearly explained. Helped me a lot for performing heavy work on new threads.Thank You so very much
your video and explanation is so simple and clear like crystal. thank you sir for taking your time to demonstrate this concept.
Simply and clearly explained,,, now i understand basic concept of Threads Handlers and Runnable....Love from Pak
Great tutorial, saved me a huge amount of time. Appreciate your hard work man!
Very well explained from the point of view of coding. I was just looking for this.
Subscribe like share
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.
Glad u like
You explained it much clearly, it really helped me a lot . Thanks alot brother😍
Perfect example and very well explained. Thank you so much Dude
Thanks man to the point explanation ❤
Great this help me a lot ! you saved my app !you clear my concept of runnable and handler
Great explanation.
Nice tutorial
Hey, you were awesome explaining the concept very clearly. Your videos are awesome and keep up the same level of quality content. :)
Thanks for clearly explaining their uses, would be better if theory was also included.
this tutorial was super helpful and informative. thanks alot
very clear and concise explanation.. tnx
Thank you sir, Video cleared my concept
Glad to hear that
Perfectly explained. Thank you.
Fabulous. Mind blowing.
Really really thank you for sharing this video
Clearly explained thank you
Handler class's empty constructor is deprecated, now what to do Sir ???
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
Amazing Video..Great Explanation
Great Explanation, Awesome
Excellent example sir ..
Subscribe like share
dil jeet liya ❤️❤️👍
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.
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
what is synchronized ? and is it mandatory to use synchronized method ?
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
great video, helped a lot!
Subscribe like share
its quite a bit of time since ur last such video on youtube...
such an awesome video, thanks a lot.
when I put a Toast command in a run method and got error saying it's not allowed inside a thread
All UI updates should be done from the main ui thread
Why use synchronized keyword pls explain
Runnable is not a class, but an interface. You created an anonymous class and referred it using a Runnable reference.
Yes agreed that is a fault
really helpfull. thanks!!
Clicking the button several times will create a lot of threads
I want only 2 thread
One main
And another
Downloading thread
why did you change the name of the channel man?
I felt so, yoursTruly was not easy to remember...
Sir how object runnable is created this way
Runnable runnable=new Runnable()curly bracses
Public void run ()
its an anonymous class....providing implementation for interface Runnable.
Thankyou sir
Good video
Thanks bhaiya, but if you can this in hindi than it would be much easier to understand
i'll try bro, but its difficult since most of the subscribers do not understand hindi.
@@mafiacodes ohk
thanks :)
Perfect!
runnable is not a class ..it is a interface
awesome
haikeyi