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

跟androidannotations框架冲突 #33

Closed
hongdong opened this issue Nov 11, 2016 · 4 comments
Closed

跟androidannotations框架冲突 #33

hongdong opened this issue Nov 11, 2016 · 4 comments

Comments

@hongdong
Copy link

androidannotations框架会自动继承一个类出来,而在遍历查找函数时用的getDeclaredMethods是不会去查找父类的,所以导致查找不到Subscribe,暂时不知道如何去解决这个问题。,知道的回我一下,thx

@hwangjr
Copy link
Member

hwangjr commented Nov 14, 2016

Ref #29 #13 ?

@hongdong
Copy link
Author

非常感谢您的回答!
但是为什么不使用EventBus那样去遍历父类的注解呢?

@hwangjr
Copy link
Member

hwangjr commented Nov 16, 2016

性能考虑,因为目前还没用代码生成,反射的话如果不是实体类,很容易造成性能问题。

@hwangjr hwangjr closed this as completed Nov 16, 2016
@hwangjr
Copy link
Member

hwangjr commented Nov 16, 2016

后面可以考虑自动生成代码,欢迎PULL REQUEST~

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