示例#1
0
 @Override
 public void onFailure(Throwable t, int errorNo, String strMsg) {
   super.onFailure(t, errorNo, strMsg);
   if (null != downloadCallback) {
     downloadCallback.onFailure(errorNo, strMsg);
   }
 }
示例#2
0
 @Override
 public void onLoading(long count, long current) {
   super.onLoading(count, current);
   if (null != downloadCallback) {
     downloadCallback.onProgress(current, count, "");
   }
 }
示例#3
0
 @Override
 public void onSuccess(File file) {
   super.onSuccess(file);
   if (null != downloadCallback) {
     downloadCallback.onDownLoadSuccess(file.getAbsolutePath());
   }
 }