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

MainActivity设置有android:launchMode="singleTask" 切换语言后App直接关闭不会 重启 这个要怎么解决好? #10

Closed
yk007 opened this issue May 12, 2021 · 6 comments

Comments

@yk007
Copy link

yk007 commented May 12, 2021

No description provided.

@getActivity
Copy link
Owner

@getActivity
Copy link
Owner

小伙子,你确定这三种方式都用过了?

@yk007
Copy link
Author

yk007 commented May 12, 2021

现在用的第一张方式,会卡顿一下

@getActivity
Copy link
Owner

小伙子,其他方式你也试过了?

@yk007
Copy link
Author

yk007 commented May 13, 2021

都试过,切换语言在首页,而首页设置了栈内单例模式后其他2中方式不会重启,需要手动启动一下,第一种用着还好可以满足要求

@getActivity
Copy link
Owner

OK 的,小伙子,你先用着,如果后续你发现了更好的重启方式欢迎反馈给我,我经过核实之后会在 Demo 中注明。

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