Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
gedoor committed Jul 18, 2018
1 parent ff63d43 commit 02f8b2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 02f8b2f

Please sign in to comment.