View Model
Everything on SkillVeris tagged View Model — collected across the glossary, study notes, blog, and cheat sheets.
5 resources across 2 libraries
Study Notes(4)
The Model in MVVM
What belongs in the Model layer of MVVM, how it differs from ViewModel state, and how to test it.
The ViewModel in MVVM
How the ViewModel exposes observable state and commands, manages lifecycle, and stays independently testable.
ViewModel Basics
What Android's ViewModel class does, how it survives configuration changes, and how to create and scope ViewModels correctly in a Compose app.
ViewModel Basics in SwiftUI
A hands-on look at how to actually write, own, and wire up a ViewModel class in a SwiftUI app, using @Observable and @MainActor correctly.