Replies: 2 comments
-
You need to provide an example for what you are trying to achieve, but in general you should use reactive values that are shared between view models and change values as needed. There are examples of reactive view models and reactive values https://stacked.filledstacks.com/docs/basics-in-depth/viewmodels/#reactiveviewmodel |
Beta Was this translation helpful? Give feedback.
-
In general, when you get into that situation is because you need to create a Service to handle some functionality. As @zuboje said, please provide your use case so we can know what you want to do and we can try to find the best implementation. |
Beta Was this translation helpful? Give feedback.
-
can 2 view model communicate directly? if yes can you please provide me an example
Beta Was this translation helpful? Give feedback.
All reactions