I am new in xamarin and c# forms platform. I make a simple webview application. and my main page is
namespace jsinjection
{
public class WebviewPage : ContentPage
{
public WebviewPage ()
{
Content = new WebView {
Source = "https://www.google.com.tr/",
HeightRequest = 1000,
WidthRequest = 1000
};
}
}
}
I want to do javascript injection to that webview according to platform specific data. But I dont know how to get this webview outside of its class. And which part of the project should I do injection.