Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

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


  • 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.