When referencing 'Com.ChinnobiControls.Charts' from a Xamarin Android project (with API levevel 15, i.e. Android 4.0 and above) I get an ugly error message:
Duplicate managed type found! Mappings between managed types and Java types must be unique.
First Type: 'Android.Support.V4.App.FragmentManager/IOnBackStackChangedListenerImplementor, Mono.Android.Support.v13, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065';
Second Type: 'Android.Support.V4.App.FragmentManager/IOnBackStackChangedListenerImplementor, Mono.Android.Support.v4, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'
I do have a dependency to Android.Support.v13 API to get access to the ViewPager stuff.
Does ShinobiChart expose, reference or link to Support.v4 library and thus causing this error?
I guess this is the case, and it would be nice if Shinobi could be clean without requiring user having to use the same references to get it to work. I you need to provide the ChartFragment to be v4 compatible it should go into a separate assemly (maybe built against different support package) that I could opt-in if I would like to use it.