I'm trying to implement messaging between my ViewModels My Proof of Concept Code is the following:
RxApp.MessageBus.Listen<int>("test")
.Subscribe(i => MessageBox.Show(i.ToString()));
RxApp.MessageBus.SendMessage<int>(42, "test");
My unit Tests run successfully so I thought it might be a Scheduling problem.
I manually set the Scheduler: RxApp.DeferredScheduler = DispatcherScheduler.Instance;
but it was set to the right Instance anyway so as expected, no change. I can register for Messages. I just never receive any :/ Using an empty message contract does not change anything either.
I tried on both the Emulator and a Device (Mango SDK Refresh / Mango Build 7712)
I hope someone here can help me :) Any hints are very much appreciated.