I am attempting to migrate a Xamarin native (Xamarin.iOS and Xamarin.Android) solution from MVVMLight to CommunityToolkit.Mvvm.
I have pored over documentation on this topic here. The docs state that
there are no replacements for platform-specific components
What are my options for addressing this gap in functionality? Specifically, I am looking for a way to programmatically bind observable properties to native control instance state. For example, I may need to set up bi-directional binding between MyVM.FooTextProperty
and MyController.FooTextControl
. This was achieved in MVVMLight with Binding
, BindingMode
, etc. classes and extension methods.
- Are there any projects that attempt to fill this gap?
- Is this functionality relatively trivial to implement from scratch?
- Or is what I'm trying to do (use CommunityToolkit.Mvvm with a Xamarin native codebase) inherently misguided?
I've asked for some guidance on the CommunityToolkit Github project, but haven't gotten a response.