Thanks, Mark.

On Mar 31, 2:53 am, Mark Murphy <mmur...@commonsware.com> wrote:
> Paul Turchenko wrote:
> > Well, how about filling list view with items dynamically?
>
> You still have to do the slow database query, which still has to be done
> off the main application thread (e.g., in an AsyncTask).
>
> And you still have to populate any Adapter attached to a ListView on the
> UI thread (e.g., publishProgress() or onPostExecute() of the AsyncTask).
> Adapters not yet connected to a ListView can be updated from a
> background thread safely, IIRC.
>
> The only way I can see this would help matters is if there's a
> convenient way for you to break up the single slow query into several
> faster queries.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android Development Wiki:http://wiki.andmob.org

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to