Skip to content

Commit

Permalink
Merge pull request #2 from howardt12345/patch-2
Browse files Browse the repository at this point in the history
Added reloading (Android)
  • Loading branch information
howardt12345 authored Apr 8, 2018
2 parents 34f039a + 503c7f8 commit 3fa200e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ public void onReceiveValue(String value) {
});
}

void reload(MethodCall call, MethodChannel.Result result) {
if (webView != null) {
webView.reload();
}
}

void resize(FrameLayout.LayoutParams params) {
webView.setLayoutParams(params);
}
Expand Down

0 comments on commit 3fa200e

Please sign in to comment.