private void quoteReply() { String message = editTextFastReply.getText().toString(); if (TextUtils.isEmpty(message)) { Toast.makeText(getActivity(), "不能为空", Toast.LENGTH_SHORT).show(); return; } mQuoteReply.setMessage(message); ChhApi api = new ChhApi(); api.quotrReply(mQuoteReply, new ReplyApiCallBack()); }
void reply() { String message = editTextFastReply.getText().toString(); if (TextUtils.isEmpty(message)) { Toast.makeText(getActivity(), "不能为空", Toast.LENGTH_SHORT).show(); return; } ChhApi api = new ChhApi(); api.reply( mPlate.getFid(), mThread.getTid(), ChhApplication.getInstance().getFormHash(), message, new ReplyApiCallBack()); }