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