title: Android - Refresh "parent" fragment when DialogFragment is dismissed
body: <p>I'm building an Android application with a tabbed layout using Tabhost and Fragments.</p>
  
  <p>In one of the tabs (fragment) I have a textview which displays the value of a String variable. This tab also has a button which calls a DialogFragment in which i can edit the value of said string, via an EditText box. </p>
  
  <p>It all works as expected, except for one glitch: once the DialogFragment is dismissed and the tab gets focus again, the textview text doesn't refresh automatically. To make it refresh i need to change tab and get back. </p>
  
  <p>Is there an instruction i can add so that when a DialogFragment is dismissed, its parent activity is reloaded/refreshed?</p>
  
  <p>Thanks in advance.</p>
  
  <p>EDIT: Still looking for a solution, couldnt figure out how to use DialogFragment.isdetached</p>