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

不同的module使用同一个group,导致找不到RouteMeta #348

Closed
yihuaqi opened this issue Apr 16, 2018 · 1 comment
Closed

不同的module使用同一个group,导致找不到RouteMeta #348

yihuaqi opened this issue Apr 16, 2018 · 1 comment

Comments

@yihuaqi
Copy link

yihuaqi commented Apr 16, 2018

当在不同的module定义相同的group的时候,会因为生成的IRouteGroup的路径和class名一致,导致只能加载某一个module的RouteMeta。

com.alibaba.android.arouter.routes.ARouter$$Group$${group name}这样。
有什么办法避免class路径不冲突吗?

@zhi1ong
Copy link
Member

zhi1ong commented May 9, 2018

不同 module 不能共用一个 group,这个技术上可以解决,但是容易导致实际开发中非常混乱

@zhi1ong zhi1ong closed this as completed May 9, 2018
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