public void onClick(View view) {
   if (view == backLayout) {
     this.finish();
   } else if (view == noteForwardButton) {
     forwardNoteView();
   } else if (view == noteCommentButton) {
     commentNoteView();
   } else if (view == favoriteLayout) {
     if (noteDetail == null) return;
     FDNutritionMealWrapper studentWrapper = new FDNutritionMealWrapper(context);
     int favoriteEanble = noteDetail.getIsCollected() == 0 ? 1 : 0;
     studentWrapper.setStudentFavoriteNote(
         noteDetail.getContentId(),
         favoriteEanble,
         new FDCallback() {
           public void onCallback(Object callback) {
             if (callback == null) return;
             int status = (Integer) callback;
             if (status == 0) {
               FDViewUtil.showTaggleToast(context, noteDetail.getIsCollected(), "收藏");
               loadFavoriteNoteDetail();
             }
           }
         });
   }
 }
 /** 评论帖子 */
 public void commentNoteView() {
   if (noteDetail == null) return;
   FDCommonComment noteComment = new FDCommonComment();
   noteComment.setContentId(noteDetail.getContentId());
   noteComment.setContentTitle(noteDetail.getContentTitle());
   Intent intent = new Intent(this, FDCommonCommentNoteActivity.class);
   intent.putExtra("fd.common.comment.key", noteComment);
   startActivityForResult(intent, 100);
 }