public class LeftFragment extends Fragment{ private ListView listView; @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.lesson_table_left, null); listView = (ListView) view.findViewById(R.id.listView); init(); return view; } @Override public void onActivityCreated(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onActivityCreated(savedInstanceState); } private void init() { List<String> items = new ArrayList<String>(); for (int i = 0; i < 2; i++) { if(i == 0){ items.add("课程表"); }else{ items.add("考试"); } } ArrayAdapter<String> adapter = new ArrayAdapter<String>(this.getActivity(), android.R.layout.simple_list_item_1, items); listView.setAdapter(adapter); } 在Fragment中使用ListView不需要自定义的话,这样就可以,如果想要自定义的话建议你还是使用ListFragment,在Fragment中我研究了很久也没研究出来。