On Mon, Oct 22, 2012 at 3:48 AM, Piren <[email protected]> wrote:
> Why do you prefer ASyncTasks to Loaders?

Greater flexibility.

> Since they are handicapped in ICS,
> isn't it better to stop using them?

Since they are not handicapped in ICS, they are perfectly fine to use.
In fact, CursorLoader uses AsyncTask under the covers.

If by "handicapped in ICS" you mean the new default serialized
behavior for execute(), use executeOnExecutor() and opt into the full
thread pool.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

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

Reply via email to