Questions tagged by "android-xamarin"

Loading dynamic html and javascript from assets in a WebView
10 years ago • alexander.kojemyakin
I am trying to display my domain object in a webview. The UI is simple jQuery Mobile. The HTML displays, but the CSS and javascript from the assets folder does not. I create the WebView like this: WebView webView = FindViewById<WebView>(Resource.Id.EntityWebView); webView.Settings.JavaScriptEnabled = true; webView.SetWebChromeClient(new WebChromeClient()); webView.Settings.DomStorageEnabled = true; webView.LoadData(getMy.Html(), "text/h
1 from 1