The plain-English version
A lifecycle-aware holder for screen-related state and logic that can outlive certain UI recreation events.
Why it matters
It separates screen logic from a particular view or activity instance.
Let’s make it click
A search screen retains its query and result state while its interface is recreated.
Vibe Bro’s heads-up
A ViewModel is not durable disk storage and does not by itself survive the operating system killing the process.
The docs behind it
Documentation links checked .
Editorial review · October 28, 2026
Supported: Android's state comparison explicitly says a ViewModel survives configuration changes but not process death. The persistence boundary is correctly stated.