Android WebView loadData讀取兩次才能顯示的問題

webview.loadDataWithBaseURL(null,result,"text/html", "utf-8", null);

使用loadDataWithBaseURL替代loadDatahtml

參考網址:http://stackoverflow.com/questions/17501860/had-to-load-data-twice-to-make-webview-refresh-in-androidandroid

相關文章
相關標籤/搜索