Code example for ListFragment

Methods: getActivity, onCreate, setListAdapter, setRetainInstance