Originally Re: Loading a large list of contacts into a ListAdapter -
making it responsive

On Jan 24, 12:14 am, Romain Guy <romain...@google.com> wrote:
> You have to do the query in a background thread yourself. ListActivity
> doesn't do any heavy work, only what's needed to fill the screen with
> data.

Is there a framework for a ListAdapter to receive post() messages from
the worker thread? The worker thread can run the SQLite query through
the Content provider, and update a handler when new rows are
available.

How about a version of SimpleAdapter that can take in an expanding
list from the worker thread - synchronized, or through
java.util.concurrent classes?
--~--~---------~--~----~------------~-------~--~----~
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