@Override
 public void onActivityResult(int requestCode, int resultCode, Intent data) {
   // use Up instead of Back to reach this fragment
   if (data == null) {
     return;
   }
   final MessageBean msg = (MessageBean) data.getParcelableExtra("msg");
   if (msg != null) {
     for (int i = 0; i < getList().getSize(); i++) {
       if (msg.equals(getList().getItem(i))) {
         MessageBean ori = getList().getItem(i);
         if (ori.getComments_count() != msg.getComments_count()
             || ori.getReposts_count() != msg.getReposts_count()) {
           ori.setReposts_count(msg.getReposts_count());
           ori.setComments_count(msg.getComments_count());
           FriendsTimeLineDBTask.asyncUpdateCount(
               msg.getId(), msg.getComments_count(), msg.getReposts_count());
           getAdapter().notifyDataSetChanged();
         }
         break;
       }
     }
   }
 }