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.

Comments

Popular posts from this blog

AlarmManager and Notification in Android

Swipe Action and ViewFlipper in Android

Open Gallery and get the selected image in appplication