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

计划新增 ViewBinding使用示例 #59

Open
youlookwhat opened this issue Aug 4, 2022 · 1 comment
Open

计划新增 ViewBinding使用示例 #59

youlookwhat opened this issue Aug 4, 2022 · 1 comment

Comments

@youlookwhat
Copy link
Owner

和databinding功能类型

@youlookwhat
Copy link
Owner Author

youlookwhat commented Aug 6, 2022

1、由于 DataBinding 和 ViewBinding 最好别同时集成在项目里,所以新建了一个新的项目实践。
2、ViewBinding 对封装的不是很友好,demo里给的是没有进行反射处理的示例。
3、针对于 ListView 和 RecyclerView 的 adapter 都进行了封装。
4、推荐使用 DataBinding。

具体见项目:ByRv-viewbinding

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

1 participant