-
-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add onCreate and onDestroy in Lifecycle? #173
Comments
Lifecycle already has onDispose, which is the equivalent to onDestroy, and you can make your own lifecycle that has a equivalent to onCreate like we already do in the AndroidLifecycle |
In testing I found out that onDispose equals onStop, but not onDestroy |
onDispose happens when the screen leaves the backstack, making it not recoverable. That is equivalent to onDestroy in the android lifecycle. |
What we don't have yet and will be fixed by #230 is onPause, onResume, onStart, onStop events on |
Add onCreate and onDestroy in Lifecycle? I wanna cancel my scope in VM when I exactly will know that Screen is destroyed and don't used
The text was updated successfully, but these errors were encountered: