>
>
> I'm pretty sure that you're going to need to do these updates through the
"runOnUiThread()" method.
Here's an example of how I typically notify the list adapter/view /etc.
Basically, if I think that there's any chance of cross thread problems, opt
for the "runOnUiThread()"
@Override
public void imageAvailable(String imageName) {
this.runOnUiThread(new Runnable(){
@Override
public void run() {
m_backpackAdapter.notifyDataSetChanged();
}
});
}
--
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