Code example for Fragment

Methods: getArguments, onCreate, setHasOptionsMenu