From 02f8b2fe32997702b526807c89f43eae16ca0dd0 Mon Sep 17 00:00:00 2001 From: GKF Date: Wed, 18 Jul 2018 11:47:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/monke/basemvplib/BaseModelImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basemvplib/src/main/java/com/monke/basemvplib/BaseModelImpl.java b/basemvplib/src/main/java/com/monke/basemvplib/BaseModelImpl.java index aa36972898..de38e9063a 100644 --- a/basemvplib/src/main/java/com/monke/basemvplib/BaseModelImpl.java +++ b/basemvplib/src/main/java/com/monke/basemvplib/BaseModelImpl.java @@ -81,9 +81,9 @@ private MyJavaScriptInterface(WebView webView) { @JavascriptInterface @SuppressWarnings("unused") public void processHTML(String html) { - webView.destroy(); e.onNext(html); e.onComplete(); + webView.destroy(); } } WebView webView = new WebView(context);