Is there any way to use an existing viewmodel when navigating to a view? #1092
Replies: 2 comments 2 replies
-
Yes, you can set disposeViewmodel to false, which you did, and set |
Beta Was this translation helpful? Give feedback.
2 replies
-
As it seems to be a bug I created an issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a view which I navigate to, then I navigate back. When I navigate to it again the view creates a new viewmodel. Is there any way to have it use the existing viewmodel? I tried setting disposeViewModel to false and it works, the viewmodel isn't disposed, but the view creates a new one anyway. Thanks in advance for any answers.
Beta Was this translation helpful? Give feedback.
All reactions