protected void showCommentDialog() {
    if (mCommentDialog != null) {
      mCommentDialog = null;
    }
    if (mShareDialog != null && mShareDialog.isShowing()) {
      mShareDialog.dismiss();
    }
    FragmentManager fm = getSupportFragmentManager();
    VideoStoryDetailFragment frag =
        (VideoStoryDetailFragment) fm.findFragmentByTag(getFragmentTag(mPager.getCurrentItem()));

    mCommentDialog = new GUIStoryCommentDialog(this);
    mCommentDialog.setStoryId(mStoryId);
    mCommentDialog.setStoryTitle(frag.getStoryTitle());
    // FIXME: refresh story comment on Dialog's dismiss.
    mCommentDialog.setOnDismissListener(mOnDialogDismissListener);
    mCommentDialog.show();
  }
 private void updateFragmentTextmode(boolean bChecked) {
   FragmentManager fm = getSupportFragmentManager();
   VideoStoryDetailFragment frag =
       (VideoStoryDetailFragment) fm.findFragmentByTag(getFragmentTag(mPager.getCurrentItem()));
   if (frag != null) {
     GKIMLog.lf(
         null,
         0,
         TAG
             + "=> update text mode: "
             + bChecked
             + " for fragment: "
             + frag.getStoryId()
             + " =>: "
             + frag.getStoryTitle());
     frag.changeTextMode(bChecked);
   }
 }
  protected void startCommentActivity(String storyId) {
    if (mIntentComment == null) {
      mIntentComment = new Intent(this, StoryDetailCommentActivity.class);
      mIntentComment.setFlags(
          Intent.FLAG_ACTIVITY_NO_HISTORY | Intent.FLAG_ACTIVITY_PREVIOUS_IS_TOP);
    }
    FragmentManager fm = getSupportFragmentManager();
    VideoStoryDetailFragment frag =
        (VideoStoryDetailFragment) fm.findFragmentByTag(getFragmentTag(mPager.getCurrentItem()));

    mIntentComment.putExtra(StoryDetailCommentActivity.EXTRA_STORY_TITLE, frag.getStoryTitle());
    mIntentComment.putExtra(StoryDetailCommentActivity.EXTRA_STORYID, storyId);
    int count = 0;
    if (mHashStoryCommentCount.containsKey(storyId)) {
      count = mHashStoryCommentCount.get(storyId);
    }
    mIntentComment.putExtra(StoryDetailCommentActivity.EXTRA_COMMENT_COUNT, count);
    startActivityForResult(mIntentComment, TNPreferenceManager.REQ_CODE_STORYDETAIL_COMMENT);
  }