Code example for DialogFragment

Methods: getActivity, getArguments, getString, setCancelable