美文网首页
Android router

Android router

作者: couriravant | 来源:发表于2019-11-19 21:45 被阅读0次

1.注解处理器处理本module中的注解,通过apt生成routermap类
2.在打包过程中class->dex过程中,通过gradle transform + asm
3.transform 收集各module中的routermap,asm生成总的routermap
4.生成的routermap注入到主工程的routerinit方法中,保证正常调用

相关文章

网友评论

      本文标题:Android router

      本文链接:https://www.haomeiwen.com/subject/odhdsctx.html