I tried passing the resource ID to the AsyncTask, rather than using
R.id.chooseTableRowTextView from within the async thread and that did
not solve the problem. So it appears that the real issue is finding
the right context for ArrayAdapter's constructor. Perhaps the only way
to make this work is to construct the ArrayAdapter in the main thread
and then add the items one at a time with ArrayAdapter.add() in the
AsyncTask thread. Not as efficient as passing the array of items in
the constructor, but it's worth a try...

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