Android: Detect when an activity returns to the previous activity
<p>I have activity A with a listView, a user clicks on any item which starts Activity B. Depending on what the user does in activity B may change the listView on activity A.</p>

<p>So my question:</p>

<p>How can I tell activity A that it was resumed when the user returns to it from activity B?</p>

<p>I want to be able to signal a refresh of the listView in activity A when it is returned to.</p>

<p>Thanks!</p>
