Ejemplo n.º 1
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

			_factory = new Factory();
			_factory.Init (new DroidRegistry());

            global::Xamarin.Forms.Forms.Init(this, bundle);
			LoadApplication(new MainPresenter(_factory));
        }
Ejemplo n.º 2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();

			_factory = new Factory();
			_factory.Init (new iOSRegistry());

			LoadApplication(new MainPresenter(_factory));

            return base.FinishedLaunching(app, options);
        }