写死下载链接
This commit is contained in:
@@ -119,6 +119,7 @@ public class DownloadTask implements DownloadCallBack {
|
||||
//每500毫秒发送刷新进度事件
|
||||
if (System.currentTimeMillis() - curTime > 500 || finishedProgress == fileBean.getLength()) {
|
||||
int progress = (int) (finishedProgress * 1.0 / fileBean.getLength() * 100);
|
||||
Log.d(DOWN_LOAD_TAG, "length = $length ----- progress = progress");
|
||||
fileBean.setFinished(finishedProgress);
|
||||
DownloadData downloadData = new DownloadData();
|
||||
downloadData.setUrl(fileBean.getUrl());
|
||||
|
||||
Reference in New Issue
Block a user