Esempio n. 1
0
        protected CordovaPlugin CreatePlugin(CordovaWebView webView, DroidGap context)
        {
            var t = new T();

            t.InitializePlugin(webView, context);
            Plugin = t; // this will ensure Cordova finds the Plugin
            return(Plugin);
        }
 public virtual void InitializePlugin(CordovaWebView webView, DroidGap context)
 {
     this.webView = webView;
     this.context = context;
 }
Esempio n. 3
0
 public XamarinCordovaPluginEntry(String service, CordovaWebView webView, DroidGap context)
     : base(service, string.Empty, false)
 {
     CreatePlugin(webView, context);
 }
 public virtual void InitializePlugin(CordovaWebView webView, DroidGap context)
 {
     this.webView = webView;
     this.context = context;
 }