Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Custom View Renderer as PCL Library/Nuget Package?

$
0
0

Hey,

i am trying to create a custom view renderer as a library/nuget package. Unfortunately my sample project does not pick up the platform specific renderer and only uses the shared project element which leads to a blank element.

The sample shared project and droid project both reference the corresponding library project:

  • Library.Common PCL
    -> CustomViewElement
  • Library.Droid PCL
    -> CustomViewElementRenderer
  • Sample.Common PCL references Library.Common
  • Sample.Droid PCL references Library.Droid

Any ideas what i am missing? Is it even possible to create a PCL library with custom view renderers that get picked up by the project?

Thanks


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>