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

关于BindableProperty的Comparer #130

Open
rickytheoldtree opened this issue Mar 6, 2024 · 1 comment
Open

关于BindableProperty的Comparer #130

rickytheoldtree opened this issue Mar 6, 2024 · 1 comment

Comments

@rickytheoldtree
Copy link

新版BindableProperty中的Comparer,如果本意是用于比对引用类型,将不能按照预想效果触发;在set时<T,T,bool>中两个T一定为同一个地址的实例;如果new一个新的引用类型的实例再触发setter则这个comparer又完全不需要了;comparer唯一能实现的效果为原本地址不同的两个引用类型对象中值一样时,不触发mOnValueChanged

@liangxiegame
Copy link
Owner

liangxiegame commented Mar 6, 2024 via email

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