title: Dismissing Fragment Dialog onResume
body: <p>I've run into a pretty interesting problem. I attempt to dismiss a Fragment Dialog from within my Activity's onResume method. That is all fine and well until it calls my Dialog Fragment's onDismiss method, which when I call getActivity returns null. Why is this? I suspect it's lifecycle related but after debugging to understand I am still unsure as to why this is happening.</p>