Android UI: when can I directly modify a view?
问题 I have an app with two activities. From the main activity I start a secondary activity using startActivityForResult() . The secondary activity returns data (in the form of an Intent object) to the main activity. On the main activity I have a method onActivityResult() to handle the come back from the secondary activity. Within this onActivityResult() method, I need to update a View on the main activity (to reflect the new data values). I do not explicitly spawn any threads. My question is: can