Updating the UI in onResume
<p>Is it ok to update the UI of the activity in the onResume method? For example, to update the cursor adapter of a listview with a new cursor.</p>

<p>In my application I have an activity A and another one B. The UI, for both activities contains listviews with cursor adapters that depend on a common string list. I have buttons to navigate from A to B and also from B to A. The problem is, that if I go from A to B, and then, in the B activity I change the string list data and by that the UI data configuration, if I press BACK, I will go to A again, but the listview will not be updated according to the changes made in B. </p>

<p>Is using the onResume method in this manner a good practice, or is there a better solution?</p>

<p>Thanks a lot,</p>

<p>Gratzi</p>
