Forum Cross Platform with Xamarin

Is it possible to return a platform specific object from a cross platform plugin?


I am working on a cross platform plugin for building dynamic forms. I have looked at examples by 'James Montemagno' here which have helped show me how you can write your own cross platform plugins. What i would like to achieve is that depending on the platform we return a different type, so for iOS a 'UITableViewSource' and for Android a 'ListView'. But in all the examples i have viewed no views are returned. So i am just wondering if this is possible and maybe if anyone knows of any examples they could point me too.

Thank you for any help.

Best Answer


Sign In or Register to comment.