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

模块中的delegate不能创建问题 #1

Closed
BaqideID opened this issue Mar 20, 2018 · 1 comment
Closed

模块中的delegate不能创建问题 #1

BaqideID opened this issue Mar 20, 2018 · 1 comment

Comments

@BaqideID
Copy link

c-framework模块中的ModuleManager中的loadModule()方法,为delegateNameList添加数据的时候应该是moduleInfo的delegateName,现在写的是包名,导致反射时不能创建类

@cr330326
Copy link
Owner

c-framework模块中的ModuleManager中的loadModule()方法,为delegateNameList添加数据的时候应该是moduleInfo的delegateName,现在写的是包名,导致反射时不能创建类

那个包名内部会去遍历整个dex中符合包名的实现类,或者可以试试用具体类的包名路径当参数传入,省去遍历寻找过程。

@cr330326 cr330326 closed this as completed Dec 6, 2019
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