(Bundle savedInstanceState)
| 38 | private String mUrl = "http://hzdown.muzhiwan.com/2017/05/08/nl.noio.kingdom_59104935e56f0.apk"; |
| 39 | |
| 40 | @Override protected void onCreate(Bundle savedInstanceState) { |
| 41 | super.onCreate(savedInstanceState); |
| 42 | Aria.download(this).register(); |
| 43 | // 读取历史记录信息 |
| 44 | DownloadEntity entity = Aria.download(this).getDownloadEntity(mFilePath); |
| 45 | if (entity != null) { |
| 46 | // 设置界面的进度、文件大小等信息 |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | public void onClick(View view) { |
| 51 | switch (view.getId()) { |
nothing calls this directly
no test coverage detected