title: refresh fragment when dialogFragment dismiss
body: <p>in my application, my Fragment AppointmentFrag contains a customListView which load data from database
  on itemClickListener of listView, i open a DialogFrament</p>
  
  <p>This is my itemClick method</p>
  
  <pre><code>@Override
  public void onItemClick(AdapterView&lt;?&gt; arg0, View view, int position, long id) 
  {
      RowItem listRow = (RowItem)listview.getItemAtPosition(position);
      String date=dateString;
      String time=listRow.gettime();
      arguments.putString("date", date);
      arguments.putString("time", time);
      SherlockDialogFragment fragment = (SherlockDialogFragment)  Fragment.instantiate(appContext, SdleCrte.class.getName(),arguments);
      fragment.show(getFragmentManager(), "create");
  }
  </code></pre>
  
  <p>my DialogFragment is <code>SdleCrte.class</code></p>
  
  <p>i need to do some operations on the dialogFragment ie, i add a new item to my table in the database. and when i click on the positive button the dialog will dismiss and need to show the new item in the listView which contains in the AppointmentFrag
  i override the onResume in my AppointmentFrag and write code for recollecting data from the database but my onResume function written in the AppointmentFrag doesnt call</p>
  
  <p>how we can refresh my listView when the Dialog closed. or how we can identify my dialogFrag dismissed and run some part of code. </p>