Commit 6d2e5b08 authored by slymax's avatar slymax

update readme

parent 6a57df7a
...@@ -15,7 +15,7 @@ If you want to create an app that displays the content of a remote website ...@@ -15,7 +15,7 @@ If you want to create an app that displays the content of a remote website
mWebView.setWebViewClient(new MyWebViewClient()); mWebView.setWebViewClient(new MyWebViewClient());
``` ```
2. open the `MyWebViewClient.java` file and replace `example.com` on line **15** with your custom hostname 2. open the `MyWebViewClient.java` file and replace `example.com` on line **14** with your custom hostname
```java ```java
if (Objects.requireNonNull(Uri.parse(url).getHost()).endsWith("example.com")) { if (Objects.requireNonNull(Uri.parse(url).getHost()).endsWith("example.com")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment