@Override
  public void onViewCreated(View view, Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);
    setHeader(view);
    getListView().setOnItemClickListener(this);

    mHeader.post(
        new Runnable() {
          @Override
          public void run() {
            screenWidth = getResources().getDisplayMetrics().widthPixels;
            screenHeight = getListView().getMeasuredHeight();
            setListAdapter(new PickActivityAdapter());
          }
        });
  }
  private void setHeader(View view) {
    mHeader = (EventHeader) view.findViewById(R.id.eventHeader);
    mHeader.getBackButton().setText(Consts.Icons.icon_New_Close);
    mHeader.setTitle(DataManager.getInstance().getResourceText(getString(R.string.Add_Profile)));
    mHeader.getIconOne().setVisibility(View.GONE);
    mHeader.getIconTwo().setVisibility(View.GONE);
    mHeader.getIconThree().setVisibility(View.GONE);
    mHeader.setListener(
        new EventHeader.OnEventHeader() {
          @Override
          public void onBackButtonClicked() {
            getActivity().onBackPressed();
          }

          @Override
          public void onOneIconClicked() {}

          @Override
          public void onTwoIconClicked() {}

          @Override
          public void onThreeIconClicked() {}
        });
  }