lingochamp / lingochamp/FileDownloader

下载中重启后再开始下载时从头开始下载

Open
#1,063 2 comments 0 reactions 1 assignee View on GitHub

@rantianhua is already working on this.

Since Jul 8, 2018.

need-info
Dominant language
Java
Stars
11.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

app本身是个Service,没有Activity。在Service中执行下载,在下载过程中拉取/data/user/0/com.my.app/databases/中的数据,查看数据库,filedownloader表中sofar字段的值不变,所以怀疑下载进度没有写入到数据库。在pending中打印sofar的值,发现和数据库中的值不一样,这点比较困惑。pending回调中sofar有值,但下载时progress回调还是从0开始,这是什么原因?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.