How to trigger something in the PCL Project from Android or IOS project?

MohanadZahedMohanadZahed ✭✭DEMember ✭✭
edited October 2017 in Xamarin.Forms

I know that it is possible to trigger some functionality from the PCL in Android project or IOS using the DependencyService. But is it possible to do it the opposite way? I tried using an interface which created in the android project but obviously, it won't work. any solution for this?

Best Answer

Answers

  • VolodymyrSavchenkoVolodymyrSavchenko ✭✭✭ UAMember ✭✭✭

    Just check your references. Your iOS and Android projects should include reference to PCL project. Than try to get to PCL project using it's namespace.

  • MohanadZahedMohanadZahed ✭✭ DEMember ✭✭

    @Seandy ah jeez Rick thanks :smile:

Sign In or Register to comment.