Skip to content

Commit

Permalink
增加批量暂停操作
Browse files Browse the repository at this point in the history
  • Loading branch information
JinJieGu committed Dec 12, 2017
1 parent 3ab9c64 commit cbfd71b
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,13 @@ public void pause(String url){
}
}

public void pause(List<String> urls){
if (urls == null || urls.size() == 0 || isQuicklyClick())return;
for (String url : urls){
pause(url);
}
}

/**
* 下载任务,如果当前任务在下载列表中则认为是插队,否则入队等候下载
* @param url
Expand Down

0 comments on commit cbfd71b

Please sign in to comment.