@Override
  public void onViewCreated(View view, Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);
    pagerAdapter = new PagerAdapter(getChildFragmentManager());
    pager.setAdapter(pagerAdapter);
    tabStrip.setViewPager(pager);
    tabStrip.setOnPageChangeListener(new OnPageScrollListener());

    pullRefreshListViewMap = new HashMap<Integer, PullRefreshListView>(3);
    memberAdapterMap = new HashMap<Integer, MemberAdapter>(3);

    // 设置右侧触摸监听
    sideBar.setOnTouchingLetterChangedListener(
        new SideBar.OnTouchingLetterChangedListener() {

          @Override
          public void onTouchingLetterChanged(String s) {
            // 该字母首次出现的位置
            int position =
                memberAdapterMap.get(pager.getCurrentItem()).getPositionForSection(s.charAt(0));
            if (position != -1) {
              pullRefreshListViewMap.get(pager.getCurrentItem()).setSelection(position);
            }
          }
        });
    menuDrawer = activity.getMenuDrawer();
    if (menuDrawer != null) {
      menuDrawer.setTouchMode(MenuDrawer.TOUCH_MODE_FULLSCREEN);
    }
  }
 @Override
 public void onAttach(Activity activity) {
   super.onAttach(activity);
   try {
     onActionBarUpdateListener = (OnActionBarUpdateListener) activity;
   } catch (ClassCastException e) {
     onActionBarUpdateListener = null;
   }
 }
 // 创建视图
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   from = getArguments().getString(Constants.EXTRA_FROM_WHICH_PAGE);
 }
 @Override
 public void onDestroy() {
   super.onDestroy();
 }