Beispiel #1
0
        public MainPage()
        {
            this.InitializeComponent();
            container.Register <IDataServiceHelper, DataServiceHelper>();
            container.Create <EasyBudgetDataService>();

            LoadApplication(new EasyBudget.Forms.App());
        }
Beispiel #2
0
        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());
        }