Exemplo n.º 1
0
  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());
  }
Exemplo n.º 2
0
 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());
 }