@Override protected void showDataError(NetErrorException ex, String message) { super.showDataError(ex, message); if (mCallback != null) { mCallback.callback(false, null, 0, ex.getMessage()); } }
// @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); } }
public void postRequest(GroupListRequestData request) { synchronized (this) { this.request = request; super.startRequest(true); } }