Are there any advantages of Loaders over Async task? Also, how to make loaders compatible for phones with Android froyo.
Edit:
The primary problem here is that I'm not using the native DB(SqlLite). Using the DB on development server. Obviously, I can't use CursorLoader
any more. AsyncTaskLoader
has no examples at all. If any, please do link.
Is it a better idea to load the data required onto the local DB and then query it using CursorLoader
?