Code example for Fragment

Methods: getActivity

1