mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
13 lines
464 B
Markdown
13 lines
464 B
Markdown
# Application Lifecycle
|
|
|
|
The app goes through these states:
|
|
|
|

|
|
|
|
Let's look at a scenario where an app launches another app:
|
|
|
|
1. `first` app starts: `first.onStart()` -> `first.onShow()`
|
|
2. `second` app starts: `first.onHide()` -> `second.onStart()` -> `second.onShow()`
|
|
3. `second` app stops: `second.onHide()` -> `second.onStop()` -> `first.onShow()`
|
|
4. `first` app stops: `first.onHide()` -> `first.onStop()`
|