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 视图的面板。有没有办法在显示它所在的面板之前先加载 webview?
当然,使用 myWebView.setVisibility(View.INVISIBLE); 将 WebView 的可见性设置为不可见;然后当您收到回调时,页面已加载,将可见性设置回可见。