-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Description
When migrating a project from Xamarin.Android to .NET for Android, I was running into the problem where some plugins (Visibility and Color) their converters were not being registered right. Upon searching for a bit, I stumbled upon #4739 and on #4798 afterwards, where in the latter it's mentioned that this should be fixed. Running MvvmCross 9.2.0, this still isn't fixed and I still have to manually load plugins as described in #4739.
Steps to Reproduce
- Create an Android app with MvvmCross 9.2.0
- Install the Visibility and/or Color plugin
- Add some bindings using the converters
- Doesn't work
Link to public reproduction project repository
No response
Version with bug
9.2.0
Is this a regression from previous behavior?
Yes, this used to work in a previous version
Last version that worked well
8.0.2 (that I know of before migration)
Affected platforms
Android
Affected platform versions
Android 14
Did you find any workaround?
Manually loading the plugins in your Setup.cs
public override void LoadPlugins(IMvxPluginManager pluginManager)
{
base.LoadPlugins(pluginManager);
pluginManager.EnsurePluginLoaded<MvvmCross.Plugin.Visibility.Platforms.Android.Plugin>();
pluginManager.EnsurePluginLoaded<MvvmCross.Plugin.Color.Platforms.Android.Plugin>();
}