/** 初始化帖子详情 */
  private void initFavoriteNoteDetailView() {
    forwardContenView = View.inflate(context, R.layout.fd_common_forward_popupwindows, null);
    backLayout = (LinearLayout) this.findViewById(R.id.fd_favorite_note_detail_header_back_label);
    favoriteLayout =
        (RelativeLayout) this.findViewById(R.id.fd_favorite_note_detail_collect_layout);
    noteDetaiFavoriteView = (ImageView) this.findViewById(R.id.fd_favorite_note_detail_level_img);
    noteDetailTitleView = (TextView) this.findViewById(R.id.fd_favorite_note_detail_title_textview);
    noteDetailContentView =
        (TextView) this.findViewById(R.id.fd_favorite_note_detail_content_textview);
    noteDetailNameView =
        (TextView) this.findViewById(R.id.fd_favorite_note_supervision_detail_name_tv);
    noteDetailDateView =
        (TextView) this.findViewById(R.id.fd_favorite_note_supervision_detail_date_tv);
    noteForwardCountView = (TextView) this.findViewById(R.id.fd_favorite_note_detail_forward_tv);
    noteFavoriteCountView = (TextView) this.findViewById(R.id.fd_favorite_note_detail_favorites_tv);
    noteCommentCountView =
        (TextView) this.findViewById(R.id.fd_favorite_note_detail_comment_textview);
    noteDetailImageView =
        (FDHorizontalListView) this.findViewById(R.id.fd_school_favorite_note_detail_listView);
    noteCommentListView =
        (LJListView) this.findViewById(R.id.student_favorite_note_detail_comment_xml);
    noteCommentListView.setPullLoadEnable(true, "");
    noteCommentListView.setPullRefreshEnable(true);
    noteCommentListView.setIsAnimation(true);
    noteCommentListView.setXListViewListener(this);
    noteForwardButton = (Button) this.findViewById(R.id.student_meal_favorite_note_forward);
    noteCommentButton = (Button) this.findViewById(R.id.student_meal_favorite_note_comment);
    backLayout.setOnClickListener(this);
    favoriteLayout.setOnClickListener(this);
    noteForwardButton.setOnClickListener(this);
    noteCommentButton.setOnClickListener(this);

    loadFavoriteNoteDetail();
    loadFavoriteNoteDetailComments();

    noteCommentAdapter = new FDNoteCommentAdapter(this, commentsList);
    noteCommentListView.setAdapter(noteCommentAdapter);
    noteCommentListView.setOnItemClickListener(null);

    setFavoriteNoteDetailView();
  }
 /**
  * 更新列表状态
  *
  * @param count
  */
 private void onCommentLoad(long count) {
   noteCommentListView.setCount("" + count);
   noteCommentListView.stopRefresh();
   noteCommentListView.stopLoadMore(pageNo > totalPage);
   noteCommentListView.setRefreshTime(StringUtils.dateToString(new Date()));
 }