protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // this.Window.AddFlags(WindowManagerFlags.Fullscreen); mXWalkInitializer = new XWalkInitializer(this, this); mXWalkInitializer.InitAsync(); SetContentView(Resource.Layout.XWalkView); xwv = (Org.Xwalk.Core.XWalkView)FindViewById(Resource.Id.xwalkview); hh = new AppPreferences(this); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); mXWalkInitializer = new XWalkInitializer(this, this); mXWalkInitializer.InitAsync(); SetContentView(Resource.Layout.Main); // xwv.SetWebChromeClient(new WebChromeClient()); // xwv.SetWebViewClient(new SampleWebViewClient(xwv)); xwv.SetResourceClient(new SampleXWalkWebViewClient(xwv)); xwv = (Org.Xwalk.Core.XWalkView)FindViewById(Resource.Id.xwalkview); }
protected override void OnResume() { base.OnResume(); mXWalkInitializer.InitAsync(); }