Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个在主要活动上使用 web 视图的应用程序。我的问题是: - 当我从 - 例如设置 - 返回主要活动时 - 我只是得到一个空白的白色屏幕。如果我然后按下后退按钮,主要活动将再次可见。有谁知道发生了什么?
提前致谢。
也许使用代码这会变得更有趣,但一个简单的猜测是你必须在你的主要活动的 onResume 期间重新加载网页。