HuolalaTech / hll-wp-therouter-android

A framework for assisting in the renovation of Android componentization(帮助 App 进行组件化改造的动态路由框架)
https://therouter.cn/
Apache License 2.0
1.07k stars 128 forks source link

请问如何解决一次跳转多个Activity,类似原生startActivities? #139

Closed Jeffery336699 closed 6 months ago

Jeffery336699 commented 6 months ago

请问如果是一个这样的需求 , A页面-->C页面 , 在中间需要插入个B页面 ; 方便C返回的时候直接显示的是B页面 , 再返回才是A页面 . 请问大佬有没有暴露相关的API服务 , 希望能得到解答 , 万分感谢❤~~

kymjs commented 6 months ago

写两遍TheRouter.build(xxx).navigation()就一次跳两个页面了 但你描述的问题应该是拦截器的使用场景,详见官网文档