任务组工具处理

pull/330/head
AriaLyy 7 years ago
parent c948aa7555
commit bc48fd5b4d
  1. 2
      Aria/src/main/java/com/arialyy/aria/core/download/downloader/DownloadGroupUtil.java
  2. 2
      app/src/main/java/com/arialyy/simple/download/group/GroupModule.java

@ -220,7 +220,7 @@ public class DownloadGroupUtil implements IDownloadUtil {
@Override public void run() {
mListener.onProgress(mCurrentProgress);
}
}, 1000);
}, 0, 1000);
}
/**

@ -32,7 +32,7 @@ public class GroupModule extends BaseModule {
List<String> getUrls() {
List<String> urls = new ArrayList<>();
String[] str = getContext().getResources().getStringArray(R.array.download_url);
String[] str = getContext().getResources().getStringArray(R.array.group_urls);
Collections.addAll(urls, str);
return urls;
}

Loading…
Cancel
Save