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

请问Bean模型的BR类是怎么来的呢? #20

Closed
GitHubAFeng opened this issue Feb 24, 2017 · 2 comments
Closed

请问Bean模型的BR类是怎么来的呢? #20

GitHubAFeng opened this issue Feb 24, 2017 · 2 comments

Comments

@GitHubAFeng
Copy link

大兄弟,RT,在bean模型中多次使用的BR类是怎么来的?在项目中找不到此类。是 DataBindingHelper.jar 的作用吗?我该怎么在项目中使用 DataBindingHelper.jar 呢?
谢谢~

@youlookwhat
Copy link
Owner

这关乎于DataBinding的用法,需要继承BaseObservable,具体用法可以看这篇文章:https://segmentfault.com/a/1190000002876984#articleHeader21 ;DataBindingHelper.jar的使用看这里的文章,第一条就是:http://jingbin.me/2017/11/23/%E5%BC%80%E5%8F%91%E4%B8%AD%E6%89%80%E9%81%87%E9%97%AE%E9%A2%98%E5%BD%92%E7%BA%B3/

@GitHubAFeng
Copy link
Author

@youlookwhat
OK!我明白了。 期待下一个版本 。
有时我都被DataBinding的封装都绕晕了。

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