title: Should we be using setTargetFragment()? I thought Fragments should not be communicating with each other
body: <p>The android developer tutorials recommend me using the host activities of fragments to pass around data and whatnot, so why is there a set/get target fragment method?</p>
  
  <p>My application thus far contains a host activity, and a fragment, which has a button that launches a <code>DialogFragment</code>, in which there is a button that launches ANOTHER <code>DialogFragment</code>. Using <code>setTargetFragment/getTargetFragment</code> has made this whole ordeal somewhat confusing though, so I am thinking of reimplementing to let my main activity handle <code>DialogFragment.show</code> methods through my main fragment's custom interface.</p>
  
  <p>Is this the right way of thinking? Or is there no harm in using <code>setTargetFragment</code>? Can anyone provide good and bad examples of using it?</p>