MCPcopy Create free account
hub / github.com/TC999/Aria-bak / onCreate

Method onCreate

app/src/main/assets/help_code/HttpDownload.java:40–48  ·  view source on GitHub ↗
(Bundle savedInstanceState)

Source from the content-addressed store, hash-verified

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()) {

Callers

nothing calls this directly

Calls 3

downloadMethod · 0.95
registerMethod · 0.65
getDownloadEntityMethod · 0.45

Tested by

no test coverage detected