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

页面跳转问题 #1033

Open
zuoni1018 opened this issue Dec 7, 2022 · 2 comments
Open

页面跳转问题 #1033

zuoni1018 opened this issue Dec 7, 2022 · 2 comments

Comments

@zuoni1018
Copy link

案例
页面A 先finish后跳转B 然后B跳转C 这时候C跳转B的时候发现跳转补过去。日志输出
Calling a method in the system process without a qualified user: android.app.ContextImpl.startActivity:899 android.content.ContextWrapper.startActivity:401 androidx.core.content.ContextCompat.startActivity:251 com.alibaba.android.arouter.launcher._ARouter.startActivity:436 com.alibaba.android.arouter.launcher._ARouter.access$200:41
2022-12-06 19:57:38.123 1545-3957/system_process I/ActivityManager: START u0 {flg=0x10000000 cmp=com.elinkcare.pf920/.LoginActivity (

如果A页面先执行跳转再finish则无此问题

@chenqigao2020
Copy link

这并不是arouter的问题,即便是你用android原生的跳转startActivity在先finish再跳转的条件下也会出现这个问题,

@zuoni1018
Copy link
Author

好的 谢谢。但是我在C页面使用startActivity是可以跳过去的,所以很奇怪。不过我这种确实是一个错误的写法。
https://blog.csdn.net/vitaviva/article/details/124477352

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