There are a couple ways of getting data Asynchronously in your app. One is a Handler
and another one is an AsyncTask
. Now I've used both, and would like to know which one performs better/more efficiently at some tasks.
Thusfar, I've mostly used AsyncTasks
in getting Webdata, and Handler
's in getting data from Services
to Activities
.
I would like to know if there is an advantage to using Handler
's for Webdata, or using AsyncTasks for refreshing UI from Services
. What is the big difference?