提交 7ecef75e 编写于 作者: C chaychan

修改url判断为空的方式

上级 54ece325
......@@ -58,7 +58,7 @@ class WebViewActivity : AppCompatActivity() {
webView.webViewClient = object : WebViewClient() {
override fun shouldOverrideUrlLoading(view: WebView, url: String): Boolean {
if (TextUtils.isEmpty(url)) {
if (url.isNullOrEmpty()) {
return false
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册