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

BoxGroup#parseValue 会导致setValue 相同值时触发 change 事件 #495

Open
Exodia opened this issue Jul 6, 2015 · 1 comment
Open

Comments

@Exodia
Copy link

Exodia commented Jul 6, 2015

原因是 parseValue 会生成一个数组产生一个引用,必然和原来的rawValue不同。

是否应该在 setValue中先增加和当前 value 值的判断,再做 change 事件的触发判断?

@otakustay
Copy link
Member

要重写isPropertyChanged(key, newValue, oldValue)这个方法

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