public void onPopupForResponse2(int position) { Intent intent0 = new Intent(FrdRequestNotifActivity.this, TabMsgFrdReqProcActivity.class); mEntity = mListOfNotif.get(position); if (mEntity.getType() == FrdReqNotifItemEntity.mTypeFrdReq && mEntity.getStatus() == FrdReqNotifItemEntity.mUnanswer) { intent0.putExtra("itemStr", mEntity.toString()); intent0.putExtra("itemPos", position); startActivity(intent0.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT)); overridePendingTransition(R.anim.my_slide_right_in, R.anim.my_slide_left_out); } }
public void setItemStatus(int pos, int status) { mEntity = mListOfNotif.get(pos); mEntity.setStatus(status); }