-
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.
feat(MusicActivity,ILifeCircle):更新到第14节课,view通知presenter生命周期变化
- Loading branch information
1 parent
c59616d
commit dcf0036
Showing
3 changed files
with
73 additions
and
1 deletion.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
app/src/main/java/net/shuzhi/mvvmdemo/lifecycle/ILifeCircle.kt
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,19 @@ | ||
package net.shuzhi.mvvmdemo.lifecycle | ||
|
||
/** | ||
* @author 梁爽 | ||
* @create 2020/11/5 12:05 | ||
*/ | ||
interface ILifeCircle { | ||
fun onCreate() | ||
|
||
fun onStart() | ||
|
||
fun onResume() | ||
|
||
fun onPause() | ||
|
||
fun onStop() | ||
|
||
fun onDestroy() | ||
} |
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