I have this sequence of events
- XAP1 loaded
- (XAP1)VM1.ActivateView gets called with viewName == "View1"
- XAP2 loaded
- (XAP2)VM2.ActivateView gets called
- (XAP1)VM1.DeactivateView gets called with viewName == "View1"
- Now I switch back to (XAP1)View1 but (XAP1)VM1.ActivateView does not get called
It seems that when XAP2 is loaded that ViewModelRouter.Views changes and IsValueCreated becomes false for VM1 but the loaded event for the view does not fire and so ActivateView is not called.
Should I see ActivateView get called when returning to (XAP1)View1 ? (my logic relies on it)
Thanks for any help