title: Update/refresh listview in a fragment & custom adapter
body: <p>What do I need to call from Fragment 1 to force an update/refresh of Fragment 2 when Fragment 2 has code in <code>onActivityCreated()</code> to load the data, create a custom array adapter and set it on a ListView?</p>
  
  <p>Is there a way to update/refresh the ListView or is the intent to <code>Replace()</code> the Fragment to force it to be rebuilt and rerun the code in <code>onActivityCreated()</code>?</p>
  
  <p>Here is a snipped of the Fragment 2 onActivityCreated() code:</p>
  
  <pre><code>    @Override
      public void onActivityCreated(Bundle savedInstanceState) 
      {
        super.onActivityCreated(savedInstanceState);
  
        // Get the prepared data and load it into this view
        ArrayList&lt;ReportData&gt; oReportResultsData = Report.LoadData(Home.ScheduleJSonData,         Home.SelectedDate);
  
        //Set the list into the gridview (Listview formatted with rows/columns)
        ScheduledActivityReportGridArrayAdapter myGridArrayAdapter = new         ScheduledActivityReportGridArrayAdapter(this.getActivity(), R.layout.homeschedulerow, oReportResultsData);
        lstReport.setAdapter(myGridArrayAdapter);
      }
  </code></pre>
  
  <p>I did try to manually call <code>notifyDataSetChanged()</code> on the Fragment Manager in hopes that would force it to reload/refresh Fragment 2.  I have reread the docs and many great answers out here but the custom <code>LoadData()</code> method and custom adapter being setup in <code>onActivityCreated()</code> I've not see addressed.</p>
  
  <p>Many Thanks!</p>