Simplify Hello World apps and update docs (#28)

* Simplify Hello World apps
* Updated docs
This commit is contained in:
Ken Van Hoeylandt
2024-01-31 22:26:22 +01:00
committed by GitHub
parent 7f133e65c5
commit 77f386f0b9
7 changed files with 64 additions and 25 deletions
+12
View File
@@ -0,0 +1,12 @@
# Application Lifecycle
The app goes through these states:
![app lifecycle state diagram](pics/app-lifecycle.png)
Let's look at a scenario where an app launches another app:
1. `first` app starts: `first.on_create()` -> `first.on_show()`
2. `second` app starts: `first.on_hide()` -> `second.on_create()` -> `second.on_show()`
3. `second` app stops: `second.on_hide()` -> `second.on_destroy()` -> `first.on_show()`
4. `first` app stops: `first.on_hide()` -> `first.on_destroy()`