コード例 #1
0
 @Override
 protected void onPostExecute(ReplyInfo result) {
   mCommonActivityTitle.hideTitleLeftLoading();
   // 防止下载中点击返回崩溃
   if (isFinish) return;
   super.onPostExecute(result);
   if (result != null) {
     VoiceEventBusBean bean = new VoiceEventBusBean();
     bean.setStrAction(BeanConst.REPLY_ADD);
     bean.addValue(BeanConst.TID, mMainId);
     EventBus.getDefault().post(bean);
     if (mAdapter != null) {
       mAdapter.addReplyInfo(result);
     }
   }
 }
コード例 #2
0
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   mCommonActivityTitle.showTitleLeftLoading();
 }