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)); }
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()); }