loadHTMLWithStylesheet

fun WebView.loadHTMLWithStylesheet(stylesheetName: String, htmlBody: String)

Loads html into a webview styled by a stylesheet from assets. Example AMUtil.loadStyledHTML(webview, "style.css", "

Example

");

Parameters

stylesheetName

Name of the stylesheet

htmlBody

The html string to put in the