细节调整

pull/2/head
yuyu lao 9 years ago
parent 35216ffd68
commit 3def6cfa2f
  1. 2
      .idea/misc.xml
  2. 15
      app/src/main/java/com/example/arial/downloaddemo/MainActivity.java

@ -44,7 +44,7 @@
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">

@ -117,6 +117,21 @@ public class MainActivity extends AppCompatActivity {
mUpdateHandler.obtainMessage(DOWNLOAD_PRE, fileSize).sendToTarget();
}
@Override
public void onStart(long startLocation) {
super.onStart(startLocation);
}
@Override
public void onChildResume(long resumeLocation) {
super.onChildResume(resumeLocation);
}
@Override
public void onChildComplete(long finishLocation) {
super.onChildComplete(finishLocation);
}
@Override
public void onProgress(long currentLocation) {
super.onProgress(currentLocation);

Loading…
Cancel
Save