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

东哥能不能把onViewAttachedToWindow、onViewDetachedFromWindow等一些需要额外处理的方法回调出来,我需要在这里面处理一些逻辑 #81

Closed
maydaynicko opened this issue Jan 4, 2022 · 2 comments
Labels
寻求帮助 Extra attention is needed

Comments

@maydaynicko
Copy link

No description provided.

@maydaynicko maydaynicko added the 寻求帮助 Extra attention is needed label Jan 4, 2022
@liangjingkanji
Copy link
Owner

liangjingkanji commented Jan 4, 2022

BindingAdapter是open class, 可以被重写的. 所以任何回调你都可以通过继承或者匿名类拿到

setup函数也只是简化创建BindingAdapter对象而已

@liangjingkanji
Copy link
Owner

新版本增加ItemAttached具备onViewAttachedToWindow/onViewDetachedFromWindow回调

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
寻求帮助 Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants