-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Use Mvvm cross and bind to INotifyPropertyChanged #1
Comments
Hi There, Yes, my current thinking here will be to use something like ReactiveUI to provide the binding part, as that already does it very well, and as it is bound at compile-time means you get compile-time type checking. My current thinking is that a DataContext property won't be required as ReactiveUI manages quite well on platforms without one. I don't want to place a hard dependency on a particular version of ReactiveUI as its development moves quite fast, but as a proof of concept I'm currently working on a "DevTools" console in the Perspex.Diagnostics project for which I am using ReativeUI. You should see some more work being committed there in the coming days. |
One thing I'd like to add is that I'd like to see MVVM as a more first-class concept than in WPF where it often seems tacked-on. In my mind it should be seen as the correct way to build applications. |
Still working on this? |
Yes, in the background when I have time! My current work project should be finished this week so I should have more time. |
👍 yes to first class support |
The view bindings API for RxUI hasn't changed significantly since it landed in v4, but 👍 to whatever you end up doing in this area... |
Closing this as I don't see any reason why it wouldn't be supported. In fact, it should be easier than in WPF as PerspexObject implements INotifyPropertyChanged. |
Some android ime fixes.
Internals part #1: platform backends
Would be possible to bind to INotifyPropertyChanged or use libraries like Mvvm cross?
Wpf has DataContext like concept, how we can bind to external models?
Any sample?
Here is a link on how to bind to an instance of INotifyPropertyChanged:
http://social.msdn.microsoft.com/Forums/en-US/36bf6ecb-70ea-4be3-aa35-b9a9cbc9a078/observable-from-any-property-in-a-inotifypropertychanged-class?forum=rx
Thanks,
Amer
The text was updated successfully, but these errors were encountered: