添加没有网络也会重试的开关;修复多次删除记录的bug
This commit is contained in:
@@ -18,7 +18,9 @@ public class AnyRunActivity extends BaseActivity<ActivityTestBinding> {
|
||||
AnyRunnModule module;
|
||||
String[] urls;
|
||||
int index = 0;
|
||||
String URL = "http://static.gaoshouyou.com/d/12/0d/7f120f50c80d2e7b8c4ba24ece4f9cdd.apk";
|
||||
//String URL = "http://static.gaoshouyou.com/d/12/0d/7f120f50c80d2e7b8c4ba24ece4f9cdd.apk";
|
||||
String URL = "http://static.gaoshouyou.com/d/22/94/822260b849944492caadd2983f9bb624.apk";
|
||||
//String URL = "https://dl.genymotion.com/releases/genymotion-2.12.1/genymotion-2.12.1-vbox.exe";
|
||||
|
||||
@Override protected int setLayoutId() {
|
||||
return R.layout.activity_test;
|
||||
@@ -47,8 +49,7 @@ public class AnyRunActivity extends BaseActivity<ActivityTestBinding> {
|
||||
case R.id.stop:
|
||||
//List<AbsEntity> list = Aria.download(this).getTotalTaskList();
|
||||
//
|
||||
////module.stop();
|
||||
//module.stop(URL);
|
||||
module.stop(URL);
|
||||
|
||||
break;
|
||||
case R.id.cancel:
|
||||
|
||||
Reference in New Issue
Block a user