@Override
 public void onActivityCreated(Bundle savedInstanceState) {
   super.onActivityCreated(savedInstanceState);
   CityListActivity activity = (CityListActivity) getActivity();
   listView = new IndexableListView(activity);
   listView.setDivider(activity.getResources().getDrawable(R.drawable.line_gray));
   listView.setDividerHeight(2);
   listView.setFastScrollEnabled(true);
   listView.setAdapter(activity.adapter);
   listView.setOnItemClickListener(itemClickListener);
   setContentView(listView);
   setContentShown(false);
 }
 @Override
 public void onItemClick(AdapterView<?> arg0, View arg1, int position, long arg3) {
   CityListActivity activity = (CityListActivity) getActivity();
   FlightCityModel model = activity.adapter.getItem(position);
   switch (activity.selectCityType) {
     case IndexActivity.REQUEST_CODE_DEPART:
       activity.pageCache.departCity = model;
       break;
     case IndexActivity.REQUEST_CODE_ARRIVE:
       activity.pageCache.arriveCity = model;
     case IndexActivity.REQUEST_CODE_DSIPATCH:
       activity.pageCache.dispatchCity = model;
       break;
     case 4:
       activity.settingCache.departCityModel = model;
       break;
   }
   activity.setResult(activity.selectCityType);
   activity.finish();
 }