I'm searching to implement MessagingCenter for X reasons into my Xamarin Forms (Portable Project).
-I have to make communicates the
MainPage.xaml.cs of the Project.WinPhone (Windows Phone 8.1) with the
Pages/MyPersonalPage.xaml.cs of the Project (PCL Part)
I think I have to use the both following function:
Send<TSender> (TSender sender, string message)
Subscribe<TSender> (object subscriber, string message, Action<TSender> callback, TSender source = null)
Maybe I misunderstood but, if
<TSender> is in the WinPhone project and
subscriber is in the Portable project, I can't link them about assemblies. (Infinite two ways link)
It means I can't either access
Pages/MyPersonalPage.xaml.cs. Then, how should I do to make it works?
My code is already ok otherwise, I'm able to catch the
Events that I need from the WinPhone part and I'm also able to make the modification I need in the PCL. The only problem is I need to call this method which makes the modification once the Event comes up