Ejemplo n.º 1
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();

            var soapService = new airports_country.iOS.Service.SoapService();
            var serviaAir   = new airports_country.Model.ServiceAeropuerto(soapService);

            App.servicio = serviaAir;
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Ejemplo n.º 2
0
        protected override void OnCreate(Bundle bundle)
        {
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;

            base.OnCreate(bundle);

            global::Xamarin.Forms.Forms.Init(this, bundle);

            var soapService = new airports_country.Droid.Service.SoapService();
            var serviaAir   = new airports_country.Model.ServiceAeropuerto(soapService);

            App.servicio = serviaAir;
            LoadApplication(new App());
        }