コード例 #1
0
 @Override
 protected void showDataError(NetErrorException ex, String message) {
   super.showDataError(ex, message);
   if (mCallback != null) {
     mCallback.callback(false, null, 0, ex.getMessage());
   }
 }
コード例 #2
0
 //    @Override
 //    protected BaseRequestData getRequest() throws ConstraintException, FailOperatingException {
 //            CommentAppRequestData requestData = new CommentAppRequestData(bean.packageName,
 // bean.grade, bean.content,
 //                    bean.verCode);
 //        return requestData;
 //    }
 public void postRequest(BaseRequestData request) {
   synchronized (this) {
     this.mRequest = request;
     super.startRequest(true);
   }
 }
コード例 #3
0
 public void postRequest(GroupListRequestData request) {
   synchronized (this) {
     this.request = request;
     super.startRequest(true);
   }
 }