任务组工具处理

This commit is contained in:
AriaLyy
2017-07-10 17:56:45 +08:00
parent c948aa7555
commit bc48fd5b4d
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -32,7 +32,7 @@ public class GroupModule extends BaseModule {
List<String> getUrls() { List<String> getUrls() {
List<String> urls = new ArrayList<>(); 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); Collections.addAll(urls, str);
return urls; return urls;
} }