Code example for ListFragment

Methods: getActivity, onPause