I would like to use SlidingPaneLayout or DrawerLayout, but they require a newer support library. Xamarin has one in the component store (Android Support Library v4 (Rev 18).
But if I try to use this AND, use the support for the Mvvm fragments (which requires a link to Mono.Android.Support.v4). I get linker errors like this:
error : Duplicate managed type found! Mappings between managed types and Java types must be unique. First Type: 'Android.Support.V4.App.FragmentManager/IOnBackStackChangedListenerImplementor, Xamarin.Android.Support.v4-r18, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'; Second Type: 'Android.Support.V4.App.FragmentManager/IOnBackStackChangedListenerImplementor, Mono.Android.Support.v4, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'
Removing an old support library link leads to another linker error;
error CS0012: type Android.Support.V4.App.FragmentActivity' is defined in an assembly that is not referenced. Consider adding a reference to assemblyMono.Android.Support.v4, Version = 0.0.0.0, Culture = neutral, PublicKeyToken = 84e04ff9cfb79065 '
source
share