Code example for Fragment

Methods: getArgumentsonCreatesetHasOptionsMenu