1.HTML中使用了 select標籤
android 中對應的WebView創建是需要依賴於Activity
即:
WebView webView=new WebView(Activity);正確
WebView webView=findViewById(R.id.xxx);正確
WebView webView=new WebView(getApplicationContext()); 錯誤
2.在重啓該WebView頁面不能點擊
方法1:在onResume生命週期方法裏添加 webView.resumeTimers()
方法2:設置 setDomStorageEnabled(true)