protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); AndroidUtils.SetMainActicity(this); global::Xamarin.Forms.Forms.Init(this, bundle); LoadApplication(new App()); }
protected override void OnCreate(Bundle bundle) { ZXing.Mobile.MobileBarcodeScanner.Initialize(Application); base.OnCreate(bundle); AndroidUtils.SetMainActicity(this); /*SimpleContainer container = new SimpleContainer(); * container.Register<IDevice>(t => AndroidDevice.CurrentDevice); * container.Register<INetwork>(t => t.Resolve<IDevice>().Network); * * if (!Resolver.IsSet) * Resolver.SetResolver(container.GetResolver());*/ global::Xamarin.Forms.Forms.Init(this, bundle); LoadApplication(new App()); }