Closed tpnet closed 7 years ago
@tpnet DownLoadInit中在业务上层,里面Init() 所以你在库中是无法找到的。
可以直接Init
private void init() {
RxDownloadManager manager = RxDownloadManager.getInstance();
manager.init(getBaseContext(), null);
manager.setContext(getBaseContext());
manager.setListener(new DLDownloadListener(getBaseContext()));
DLNormalCallback normalCallback = new DLNormalCallback();
if (manager.getClient() != null) {
manager.getClient().setCallback(normalCallback);
}
}
这个是个封装类