title: How to Refresh ListView on Tabbed Android Application?
body: <p>I have an android tabbed application and inside one of my tabs is an activity that has a ListView of favorite items.<br>
  The user can add or remove items in an activity that is further down the flow.<br> The problem is, I can't reload the list when user comes back.
  onResume does not get called so I dont know when I should reload the list.
  <br>
  <br>
  EDIT
  <br>
  <br>
  This is how I'm starting the subsequent activities.</p>
  
  <pre><code>Intent i = new Intent(this, CargasCadastro.class);
  // Create the view using Group's LocalActivityManager
  Window win = CargasGroup.group.getLocalActivityManager().startActivity("CargasCadastro",i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP));
  View guialayout = win.getDecorView();
  // Again, replace the view
  CargasGroup.group.replaceView(guialayout);
  </code></pre>
  
  <p>onTabChanged wont work because the the activity that contains the list is not a TabActivity, and my problem is coming back from a subsequent activity, not a parallel one. Thanks for the suggestions.</p>