Forum Cross Platform with Xamarin

How a platform specific subscribes to an event in a PCL ViewModel

I am using MVVMCross + PCL and need to fire an event on my ViewModel in this PCL. I need the plafotm specific iOS ViewController to listem to this event.

How can I accoumplish that?

Thank you,

Tagged:

Answers

  • PubuduGayanPubuduGayan NZMember ✭✭✭

    Hi @JosimariMartarelli
    Just wondering why can’t you create common controller using interface and implement the body based on the platform, you can inject the body using IOC. I did similar thing to create credential. But never done iOS ViewController .

Sign In or Register to comment.