update readme
This commit is contained in:
parent
b2f9d68d09
commit
5c8b5286ab
@ -15,10 +15,10 @@ If you want to create an app that displays the content of a remote website
|
||||
mWebView.setWebViewClient(new MyWebViewClient());
|
||||
```
|
||||
|
||||
2. open the `MyWebViewClient.java` file and replace `example.com` on line **12** with your custom hostname
|
||||
2. open the `MyWebViewClient.java` file and replace `example.com` on line **14** with your custom hostname
|
||||
|
||||
```java
|
||||
if (Uri.parse(url).getHost().endsWith("example.com")) {
|
||||
if (Objects.requireNonNull(Uri.parse(url).getHost()).endsWith("example.com")) {
|
||||
```
|
||||
|
||||
### Using a local source
|
||||
|
Loading…
Reference in New Issue
Block a user