@Override public void saveToDraft() { if (!TextUtils.isEmpty(getEditTextView().getText().toString())) { DraftDBManager.getInstance() .insertReply( getEditTextView().getText().toString(), bean, BeeboApplication.getInstance().getCurrentAccountId()); } finish(); }
@Override protected void removeDraft() { if (replyDraftBean != null) { DraftDBManager.getInstance().remove(replyDraftBean.getId()); } }