We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
demo的MainActivity启动模式是默认模式 一般APP都是singleTask启动模式,如果是singleTask启动模式 切换语言的话 是无效的,必须调用intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK)
才有效,但是调用intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK)会出现界面跳转效果,怎么优化这个问题啊
否
是
我个人觉得切换的时候,我的MainActivity是singleTask启动模式并且调用了intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK)属性,能做到切换语言的时候没有任何跳转效果会更友好,因为很多App MainActivity都是singleTask启动模式,如果你不理解我的意思, 你可以把你demo的mainactivity改成singleTask模式 你在运行看看 根本没有效果,必须要加上intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK才行,但是效果出来要是跟你demo效果不一样 怎么优化
The text was updated successfully, but these errors were encountered:
收到,多谢建议,该建议已被采纳,后续会更新到 Demo 上面。
Sorry, something went wrong.
期待轮子哥2025年新版本
No branches or pull requests
你觉得框架有什么不足之处?【必答】
demo的MainActivity启动模式是默认模式 一般APP都是singleTask启动模式,如果是singleTask启动模式 切换语言的话 是无效的,必须调用intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK)
才有效,但是调用intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK)会出现界面跳转效果,怎么优化这个问题啊
issue 是否有人曾提过类似的建议?【必答】
否
框架文档是否提及了该问题【必答】
否
是否已经查阅框架文档但还未能解决的【必答】
是
你觉得该怎么去完善会比较好?【非必答】
我个人觉得切换的时候,我的MainActivity是singleTask启动模式并且调用了intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK)属性,能做到切换语言的时候没有任何跳转效果会更友好,因为很多App MainActivity都是singleTask启动模式,如果你不理解我的意思, 你可以把你demo的mainactivity改成singleTask模式 你在运行看看 根本没有效果,必须要加上intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK才行,但是效果出来要是跟你demo效果不一样 怎么优化
The text was updated successfully, but these errors were encountered: