State
Lifecycle states. You can consider the states as the nodes in a graph and LifecycleEvents as the edges between these nodes.
Possible transitions:
[INITIALIZED] ──┐
↓
┌── [CREATED] ──┐
↓ ↑ ↓
[DESTROYED] └── [STARTED] ──┐
↑ ↓
└── [RESUMED]
Content copied to clipboard