public MainPage() { this.InitializeComponent(); container.Register <IDataServiceHelper, DataServiceHelper>(); container.Create <EasyBudgetDataService>(); LoadApplication(new EasyBudget.Forms.App()); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); container.Register <IDataServiceHelper, DataServiceHelper>(); container.Create <EasyBudgetDataService>(); 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); container.Register <IDataServiceHelper, DataServiceHelper>(); container.Create <EasyBudgetDataService>(); LoadApplication(new App()); }