I'm working with WebView
on Xamarin Forms 1.4.2
The problem I have seems to be a binding issue. But I'm not sure why this happens.
In my OnAppearing()
event, I fetch data from SQLite Local Database and fill it into the WebView.
The content of webview is not been shown the first time the page loads.
I have a ListView
under the WebView. On selecting any item in the listview the content of webview shows.
Has anyone experience this? Is there a work around?
i bind my webview directly to a HTML string :
webview.Source = new HtmlWebViewSource
{
Html = @"<html>
<head>
<meta name='viewport' content='width=device-width; height=device-height; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;'/>
</head>
<body height='100%'>"
+ htmlstring
+ @"</body>
</html>"
};