Handler In Android

Handler is a verry useful and powerful component in Android. Some special features of Handler are,

->If handler is created without any parameter, then it will be created in the same thread itself.

->We can pass data to handler using message

I created one application, which is using handler efficiently. In which, an image is blinking for one second.

So if we need to create a seperate thread for handler, first we need to create a thread and create the handler inside it.


Popular posts from this blog

Open Gallery and get the selected image in appplication

Dismiss or Cancel dialog by swipe gesture

AlarmManager and Notification in Android