I am using MVVMViewModelContextResolver to initialize my ViewModels in the UI
However in the blueprint CreateInstance method, you are not allowed to SET/Store variables nor access the ViewModelSubsystem->ViewModelCollection so you are only left with the option of instancing a new VM every time it gets called (flooding the memory everytime you visit a screen using that VM).
In code it says " Shared data to find or create a ViewModel at runtime" but how can I find an existing VM then?
I would like access to the ViewModelCollection and if none is set with that context, I want to create one and store it in the collection. If already exists, just return the existing object ref.
Am I missin something?
Erik