Hi All,

I'm trying to get my head around available Android's concurrency
blocks. I have extensive experience on related subjects from the java
enterprise world, so you can shoot low-level tech details at me no
prob :)

So, AsyncTask is to be executed only once. My understanding, on the
other hand, is that a handler/looper combination can be instantiated
once and be fed messages, either once or scheduled. Given that android
performance guide advises against excessive object creation, the
confusion is natural.

Is my general understanding of differences between subj 2 correct?
Basically, AsyncTask provides a great deal of simplicity/readability
into one's code sacrificing some resources (potentially), while
Handler can be tuned more, but is just a less convenient option?

Thanks in advance!
Andrew

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to