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