jsdf wrote:
> I then thought of trying to load the cursor in a background thread,
> but realize that this might be problematic, as the CursorAdapter
> should be instantiated in onCreate() and should take a cursor as a
> parameter.

Why? Run your query in an AsyncTask and call setListAdapter() in
onPostExecute() of the task.

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

Android 2.x Programming Books: http://commonsware.com/books

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to