method when back on view
<p>In my Android app i have a <code>Fragment</code> which has a <code>ListView</code>. When i click on one of the items of that <code>ListView</code> then a new <code>View (Fragment)</code> is loaded. I do that like this:</p>

<pre><code>list.setOnItemClickListener(new OnItemClickListener()
{
    public void onItemClick(AdapterView&lt;?&gt; parent, View view,int position, long id)
    {
        // Switch to new fragment
        FragmentTransaction transaction = getFragmentManager().beginTransaction(); 
        transaction.replace(android.R.id.content, new SomeViewFragment() );
        transaction.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN);

        // Add to backstack!
        transaction.addToBackStack(null); 
        transaction.commit();
    }
});
</code></pre>

<p>So the new fragment is loaded and placed on the <code>BackStack</code>. When i press the back button on the Android device, then the newly loaded fragment disappears and my <code>ListView</code> is visible again. That all works exactly as i like, except for one thing.</p>

<p>When the back button is pressed and i end up back in the fragment where i have my <code>ListView</code>, then i need to refresh that list somehow. But i can't find any method that is triggered when i end up back on my ListView again.</p>

<p>I tried: <code>onAttach</code>, <code>onHiddenChanged</code>, <code>onResume</code>, <code>onStart</code>. But these ones don't get triggered when i go back from the 2nd frasgment to my first fragment (to my listview).</p>

<p>Any ideas how i could find out that i'm back in my listview again?</p>
