DialogFragment in a fragment. How dialog's life cycle is related to fragment?
<p>I show a dialog in a fragment and I would like to know what problems I can face with. Do they have the same lifecycle? What if I use fragment's fields in an inner DialogFragment class?</p>