Roy Goode
Roy Goode
This is particularly useful for apps that use CSS styles based on user-agent to apply a native-looking theme for iOS and Android.
That's what I was trying to achieve with a PlatformEffect, but then I used a custom renderer instead that sets that property. https://github.com/SKLn-Rad/Xam.Plugin.Webview/issues/86
I also tried placing the code in OnElementPropertyChanged, but it has the same issue - Control is always null.
Worked around by using a custom renderer instead.
Here's the custom renderer code for those interested... ``` using MyApp.Droid; using Xam.Plugin.WebView.Abstractions; using Xam.Plugin.WebView.Droid; using Xamarin.Forms; using Xamarin.Forms.Platform.Android; [assembly: ExportRenderer(typeof(FormsWebView), typeof(CustomWebViewRenderer))] namespace MyApp.Droid { public class CustomWebViewRenderer : FormsWebViewRenderer...
Apologies to all in the delay in getting these updates in. I’ve spent pretty much the last 12 months working on non-.NET projects, but I’m back on Xamarin now for...
As promised, I've updated to the latest source, and re-applied the new Fluent API changes, and also updated according to @praeclarum's reviews. Here is an update to the example usage:...
I have created a fresh pull request #727 with a cleaner branch as my master was tracking the original master from circa April 2017 and has created diffs that look...
FYI I've contributed a Fluent API over on the original repo https://github.com/praeclarum/sqlite-net/pull/533 source: https://github.com/RoyGoode/sqlite-net