Code example for ListFragment

Methods: onViewCreatedsetListAdapter, getActivity