public void SendConnectionEvent(MainViewModel mainViewModel, bool connected)
 {
     Execute.OnUIThread(() => SetVMConnectionModel(mainViewModel, connected));
 }
 public void RecieveMessageEvent(MainViewModel mainViewModel, MyMessage myMessage)
 {
     Execute.OnUIThread(() => SetVMMessageModel(mainViewModel, myMessage));
 }