Code example for DialogFragment

Methods: onCreateDialog, getActivity, getArguments