This repository has been archived by the owner on Mar 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from CodyyAndroid/dev
新增SimpleDownloadListener
- Loading branch information
Showing
4 changed files
with
79 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
downloadlibrary/src/main/java/com/codyy/download/service/SimpleDownloadListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package com.codyy.download.service; | ||
|
||
/** | ||
* Created by lijian on 2017/7/26. | ||
*/ | ||
|
||
public abstract class SimpleDownloadListener implements DownLoadListener { | ||
@Override | ||
public void onStart() { | ||
|
||
} | ||
|
||
@Override | ||
public void onWaiting() { | ||
|
||
} | ||
|
||
@Override | ||
public void onProgress(DownloadStatus status) { | ||
|
||
} | ||
|
||
@Override | ||
public void onPause() { | ||
|
||
} | ||
|
||
@Override | ||
public void onComplete() { | ||
|
||
} | ||
|
||
@Override | ||
public void onDelete() { | ||
|
||
} | ||
|
||
@Override | ||
public void onFailure(int code) { | ||
|
||
} | ||
|
||
@Override | ||
public void onError(Exception e) { | ||
|
||
} | ||
} |