Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating platform-specific components from MVVMLight #276

Open
sasha-borodin opened this issue May 23, 2023 · 3 comments
Open

Migrating platform-specific components from MVVMLight #276

sasha-borodin opened this issue May 23, 2023 · 3 comments
Labels
dotnet The .NET Community Toolkit mvvm MVVM Toolkit Pri3

Comments

@sasha-borodin
Copy link

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

My question (and request for added documentation) is: what are the options for addressing this gap in functionality? Specifically, I am looking for a way to programmatically bind observable properties to native control instances (previously provided by the Binding, BindingMode, etc. classes and extension methods in MMMVLight).

  1. Are there any projects that attempt to fill this gap?
  2. Is this functionality relatively trivial to implement from scratch?
  3. Or is what I'm trying to do (use CommunityToolkit.Mvvm with a Xamarin native codebase) inherently misguided?

Thanks so much for any guidance, and consideration to augment the docs on this topic!

@sasha-borodin
Copy link
Author

sasha-borodin commented Jul 24, 2023

Following up to see if I can get any help or hints. How are folks approaching the task of binding native control instances (ex. iOS UITextField or Android EditText) to observable properties on a VM class instance?

@michael-hawker michael-hawker added dotnet The .NET Community Toolkit mvvm MVVM Toolkit labels Aug 25, 2023
@subareddy14
Copy link

Did you found any solution for this?

@andreipro1002
Copy link

Hello @sasha-borodin , @subareddy14 did you find a solution to this? I'm having the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet The .NET Community Toolkit mvvm MVVM Toolkit Pri3
Projects
None yet
Development

No branches or pull requests

4 participants