Thanks a lot for your feedback Mark.  Do you have a rule of thumb you apply 
to decide on AsyncTasks vs Loaders?  For example, if you expect something 
to take less than x mins, use AsyncTask, otherwise use a Loader?

On Sunday, October 21, 2012 5:36:10 PM UTC-4, Mark Murphy (a Commons Guy) 
wrote:
>
> On Fri, Oct 19, 2012 at 8:13 PM, ncdroid <jbl...@gmail.com <javascript:>> 
> wrote: 
> > Can someone please answer definitively for me the following: 
> > 
> > Are ContentProviders required to use Loaders w/Sqlite? 
>
> No. If you really want to use loaders with SQLite directly, I have a 
> SQLiteCursorLoader that works without a ContentProvider: 
>
> https://github.com/commonsguy/cwac-loaderex 
>
> > If ContentProviders are *not* required to use Loaders w/Sqlite, is there 
> any 
> > recommended example which shows how to use the two together? 
>
> What is (are?) the "two" in this sentence? 
>
> > If Sqlite has a recommended way to achieve functional parity to Loaders 
> with 
> > another method, what is that method? 
>
> :: shrug :: 
>
> I use ordinary AsyncTasks myself, way more often than Loaders. 
>
> -- 
> Mark Murphy (a Commons Guy) 
> http://commonsware.com | http://github.com/commonsguy 
> http://commonsware.com/blog | http://twitter.com/commonsguy 
>
> _The Busy Coder's Guide to Android Development_ Version 4.2 Available! 
>

-- 
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