How to correctly dismiss a DialogFragment?
The docs say this for the dismiss() method from the Dialog class: Dismiss this dialog, removing it from the screen. This method can be invoked safely from any thread. Note that you should not override this method to do cleanup when the dialog is dismissed, instead implement that in onStop() . In my code, all I do is call getDialog().dismiss() to dismiss it. But I am not doing anything else or even using onStop() . So I am asking exactly how to correctly dismiss a DialogFragment to avoid any memory leaks, etc.. tl;dr: The correct way to close a DialogFragment is to use dismiss() directly on the