ARouter icon indicating copy to clipboard operation
ARouter copied to clipboard

Arouter + 画中画:在app内,如果存在画中画,通过arouter跳转的页面都将会出现在画中画里面,而不是像原生intent正常打开。

Open xintanggithub opened this issue 3 years ago • 2 comments

arouter是否是直接获取顶栈栈顶进行跳转的?是否可以配置这种跳转方式?

xintanggithub avatar Mar 10 '22 10:03 xintanggithub

是上下文context导致的,没传上下文,使用的是application的context进行的页面跳转,导致任务栈错乱,避免使用无上下文的跳转方式,就可以了

yanerchuang avatar Apr 06 '22 09:04 yanerchuang

navigation()方法内传入一个Context就能解决,然后跳转方式可以通过addFlags()方法变更

RubinTry avatar Apr 18 '22 05:04 RubinTry