Join Slack
Has anyone written a ViewModel unit testing using a `SavedStateHandle` in a Compose Multiplatform ap...
# compose
j
Jonathan
09/15/2025, 3:46 PM
Has anyone written a ViewModel unit testing using a
SavedStateHandle
in a Compose Multiplatform app? I’m currently trying to figure out away of saving a “route” instance inside of the
SavedStateHandle
I pass to my tested ViewModel but I’m not finding an API to do so. Is this only something possible to achieve using mocking?
5
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by