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

View model bindings not updating #33

Closed
joshberry opened this issue Aug 21, 2015 · 2 comments
Closed

View model bindings not updating #33

joshberry opened this issue Aug 21, 2015 · 2 comments

Comments

@joshberry
Copy link

I'm not sure if I'm doing something wrong or not, but my view is not updating when the view model (based on ViewModelBase) properties they're bound to are updated. It worked fine on previous versions when BindableBase was directly in the minimal project, but not since it was moved to the library project. If I step through the code in the debugger, the PropertyChanged event is always null and prevents it from being invoked.

Any ideas?

@joshberry joshberry changed the title View model bindings not working View model bindings not updating Aug 21, 2015
@JerryNixon
Copy link
Member

If you pull down a new version of the library, this bug was resolved this morning. Thanks Josh. To explain, though, it implemented INotifyPropertyChanged but did not specify the interface in in the class declaration. A simple mistake, really. The changed code inherits from BindableBase.

@joshberry
Copy link
Author

You're right. Works fine on the latest version. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants