How to handle data output in an Observer?
- by Mannaz
I have an Observable and an Observer. The observable does download some stuff in a background thread and calls notifyObservers to let the observers read the status.
At some point in public void update the observer tries to updates the GUI
((TextView)findViewById('R.id.foo')).setText("bar");
but it seems like the observable thread calls this…