-
Notifications
You must be signed in to change notification settings - Fork 2
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 #2 from bugyun/develop
1.0.3
- Loading branch information
Showing
8 changed files
with
204 additions
and
13 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
43 changes: 43 additions & 0 deletions
43
AvoidOnResultHelper/src/main/java/vip/ruoyun/helper/avoid/LifecycleListener.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,43 @@ | ||
package vip.ruoyun.helper.avoid; | ||
|
||
/** | ||
* Created by ruoyun on 2019-08-11. | ||
* Author:若云 | ||
* Mail:[email protected] | ||
* Depiction: | ||
*/ | ||
public interface LifecycleListener { | ||
|
||
/** | ||
* 开始 | ||
*/ | ||
void onStart(); | ||
|
||
/** | ||
* 结束 | ||
*/ | ||
void onStop(); | ||
|
||
/** | ||
* 销毁 | ||
*/ | ||
void onDestroy(); | ||
|
||
class LifecycleListenerWrapper implements LifecycleListener { | ||
|
||
@Override | ||
public void onStart() { | ||
|
||
} | ||
|
||
@Override | ||
public void onStop() { | ||
|
||
} | ||
|
||
@Override | ||
public void onDestroy() { | ||
|
||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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