Skip to content

Repository files navigation

Android webview example

This code is working from API 21

Usage

To enable the tint:

mWebView.loadUrl("https://www.google.com/");

Change the url, it also work for local file as well.

mWebView.loadUrl("file:///android_asset/index.html");

It works also to enable the caching for web view. Using LOAD_DEFAULT property, it works in offline mode also.

Credits

Author: Ahmed Faisal

screenshot

About

An example of use caching in android webview

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages