|
|
@@ -101,7 +101,7 @@ public abstract class ApiFileObserver<T> implements Observer<T> {
|
|
|
|
|
|
public void onError(T data, ApiException exception) {
|
|
|
if (isShowError && exception.isNeedShowError())
|
|
|
- ToastUtils.show(contextWeakReference.get(), exception.getErrorMessage());
|
|
|
+ ToastUtils.show(contextWeakReference.get(), "文件下载失败");
|
|
|
}
|
|
|
|
|
|
public abstract void onFinish();
|