Exemplo n.º 1
0
 public MainPage()
 {
     this.InitializeComponent();
     SfListViewRenderer.Init();
     SfDataFormRenderer.Init();
     LoadApplication(new PickerItemsFromSQLite.App());
 }
 public MainPage()
 {
     this.InitializeComponent();
     SfDataFormRenderer.Init();
     SfListViewRenderer.Init();
     LoadApplication(new ListViewXamarin.App());
 }
 //
 // This method is invoked when the application has loaded and is ready to run. In this
 // method you should instantiate the window, load the UI into it and then make the window
 // visible.
 //
 // You have 17 seconds to return from this method, or iOS will terminate your application.
 //
 public override bool FinishedLaunching(UIApplication app, NSDictionary options)
 {
     global::Xamarin.Forms.Forms.Init();
     LoadApplication(new App());
     SfDataFormRenderer.Init();
     return(base.FinishedLaunching(app, options));
 }
Exemplo n.º 4
0
        public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions)
        {
            global::Xamarin.Forms.Forms.Init();
            global::Rg.Plugins.Popup.Popup.Init();
            global::FFImageLoading.Forms.Touch.CachedImageRenderer.Init();
            global::FFImageLoading.ImageService.Instance.Initialize(new FFImageLoading.Config.Configuration()
            {
                Logger = new Landers.ThreeDCost.Services.DebugLogger()
            });
            SQLitePCL.Batteries_V2.Init();
            SQLitePCL.raw.FreezeProvider();
            global::ZXing.Net.Mobile.Forms.iOS.Platform.Init();
            Distribute.DontCheckForUpdatesInDebug();

            SfPickerRenderer.Init();
            SfDataFormRenderer.Init();
            //EntryLineRenderer.Init();
            Toolkit.Init();
            // Code for starting up the Xamarin Test Cloud Agent
#if DEBUG
            Xamarin.Calabash.Start();
#endif
            LoadApplication(new App(new iOSInitializer()));

            return(base.FinishedLaunching(uiApplication, launchOptions));
        }
 public MainPage()
 {
     this.InitializeComponent();
     SfDataGridRenderer.Init();
     SfListViewRenderer.Init();
     SfDataFormRenderer.Init();
     SfChartRenderer.Init();
     LoadApplication(new ExpenseAnalysis.App());
 }
Exemplo n.º 6
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            SfDataFormRenderer.Init();
            SfListViewRenderer.Init();
            CoreSampleBrowser.Init(UIScreen.MainScreen.Bounds, app.StatusBarFrame.Size.Height);
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
 public override bool FinishedLaunching(UIApplication app, NSDictionary options)
 {
     global::Xamarin.Forms.Forms.Init();
     MobileAds.SharedInstance.Start(null);
     SfBusyIndicatorRenderer.Init();
     SfPopupLayoutRenderer.Init();
     SfComboBoxRenderer.Init();
     SfDataFormRenderer.Init();
     SfButtonRenderer.Init();
     SfListViewRenderer.Init();
     RegisterForRemoteNotifications();
     LoadApplication(new App());
     return(base.FinishedLaunching(app, options));
 }
Exemplo n.º 8
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            var googleServiceDictionary = NSDictionary.FromFile("GoogleService-Info.plist");

            SignIn.SharedInstance.ClientID = googleServiceDictionary["CLIENT_ID"].ToString();

            ObjectHelpers.ServiceLocator.RegisterInstance(typeof(ISignInProvider), new GoogleManager());
            ObjectHelpers.ServiceLocator.RegisterInstance(typeof(ObjectFactory), ObjectFactory.GetInstance());
            SfDataFormRenderer.Init();
            new SfBusyIndicatorRenderer();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 9
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            SfTextInputLayoutRenderer.Init();
            SfTabViewRenderer.Init();
            SfListViewRenderer.Init();
            SfDataGridRenderer.Init();
            SfDataFormRenderer.Init();
            SfRotatorRenderer.Init();
            SfComboBoxRenderer.Init();
            SfBusyIndicatorRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 10
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();

            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            SfDataFormRenderer.Init();
            SfTextInputLayoutRenderer.Init();
            SfListViewRenderer.Init();
            SfPullToRefreshRenderer.Init();
            //SfBackdropPageRenderer.Init();
            SfCardViewRenderer.Init();
            SfMaskedEditRenderer.Init();
            Rg.Plugins.Popup.Popup.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 11
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            SfGaugeRenderer.Init();
            SfListViewRenderer.Init();
            SfRatingRenderer.Init();
            Core.Init();
            SfMapsRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            SfGradientViewRenderer.Init();
            SfComboBoxRenderer.Init();
            SfDataFormRenderer.Init();
            SfNavigationDrawerRenderer.Init();
            LoadApplication(new App(new iOSInitializer()));

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 12
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            Xamarin.Calabash.Start();
            global::Xamarin.Forms.Forms.Init();
            SvgImageRenderer.Init();
            new SfNumericTextBoxRenderer();
            LoadApplication(new App());

            SfButtonRenderer.Init();
            Syncfusion.XForms.iOS.Border.SfBorderRenderer.Init();
            Syncfusion.XForms.iOS.TabView.SfTabViewRenderer.Init();
            SfCalendarRenderer.Init();
            SfListViewRenderer.Init();
            SfDataFormRenderer.Init();
            SfPickerRenderer.Init();
            SfTextInputLayoutRenderer.Init();
            return(base.FinishedLaunching(app, options));
        }
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            SfDataFormRenderer.Init();
            Window = new UIWindow(UIScreen.MainScreen.Bounds);

            var setup = new Setup(this, Window);

            setup.Initialize();

            var startup = Mvx.Resolve <IMvxAppStart>();

            startup.Start();

            LoadApplication(setup.FormsApplication);

            Window.MakeKeyAndVisible();

            return(true);
        }
Exemplo n.º 14
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            if (UIDevice.CurrentDevice.CheckSystemVersion(10, 0))
            {
                // Ask the user for permission to get notifications on iOS 10.0+
                UNUserNotificationCenter.Current.RequestAuthorization(
                    UNAuthorizationOptions.Alert | UNAuthorizationOptions.Badge | UNAuthorizationOptions.Sound,
                    (approved, error) => { });

                // Watch for notifications while app is active
                UNUserNotificationCenter.Current.Delegate = new UserNotificationCenterDelegate();
            }
            else if (UIDevice.CurrentDevice.CheckSystemVersion(8, 0))
            {
                // Ask the user for permission to get notifications on iOS 8.0+
                var settings = UIUserNotificationSettings.GetSettingsForTypes(
                    UIUserNotificationType.Alert | UIUserNotificationType.Badge | UIUserNotificationType.Sound,
                    new NSSet());

                UIApplication.SharedApplication.RegisterUserNotificationSettings(settings);
            }

            global::Xamarin.Forms.Forms.Init();
            AnimationViewRenderer.Init();
            ZXing.Net.Mobile.Forms.iOS.Platform.Init();
            SfChartRenderer.Init();
            SfListViewRenderer.Init();
            SfButtonRenderer.Init();
            SfCheckBoxRenderer.Init();
            SfRadioButtonRenderer.Init();
            SfPdfDocumentViewRenderer.Init();
            SfNumericUpDownRenderer.Init();
            SfTabViewRenderer.Init();
            SfPickerRenderer.Init();
            SfLinearProgressBarRenderer.Init();
            SfCircularProgressBarRenderer.Init();
            CachedImageRenderer.Init();
            SfDataFormRenderer.Init();
            LoadApplication(new App());
            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 15
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            new Syncfusion.XForms.iOS.ComboBox.SfComboBoxRenderer();

            global::Xamarin.Forms.Forms.Init();

            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            Syncfusion.XForms.iOS.Buttons.SfButtonRenderer.Init();
            Syncfusion.XForms.iOS.Accordion.SfAccordionRenderer.Init();

            SfDataFormRenderer.Init();
            SfTextInputLayoutRenderer.Init();

            new SfBusyIndicatorRenderer();

            new SfRotatorRenderer();

            LoadApplication(new App(new iOSInitializer()));

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 16
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.SetFlags("Shell_Experimental", "Visual_Experimental", "CollectionView_Experimental", "FastRenderers_Experimental");
            global::Xamarin.Forms.Forms.Init();
            SfRichTextEditorIOS.Init();
            SfTextInputLayoutRenderer.Init();
            SfDataFormRenderer.Init();
            SfCheckBoxRenderer.Init();
            SfRotatorRenderer.Init();
            SfRangeSliderRenderer.Init();
            SfRatingRenderer.Init();
            SfComboBoxRenderer.Init();
            SfCalendarRenderer.Init();
            SfGradientViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            SfBusyIndicatorRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 17
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            SfDataGridRenderer.Init();
            SfListViewRenderer.Init();
            SfChartRenderer.Init();
            SfNumericTextBoxRenderer.Init();
            SfDataFormRenderer.Init();
            UITabBarItem.Appearance.TitlePositionAdjustment = new UIOffset(0, -10);
            UITabBarItem.Appearance.SetTitleTextAttributes(new UITextAttributes()
            {
                TextColor = UIColor.White, Font = UIFont.BoldSystemFontOfSize(16)
            }, UIControlState.Normal);

            UITabBarItem.Appearance.SetTitleTextAttributes(new UITextAttributes()
            {
                TextColor = UIColor.Green, Font = UIFont.BoldSystemFontOfSize(16)
            }, UIControlState.Selected);
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 18
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();

            SfDataGridRenderer.Init();


            SfPickerRenderer.Init();


            SfLinearProgressBarRenderer.Init();


            SfCircularProgressBarRenderer.Init();


            SfBusyIndicatorRenderer.Init();


            SfNavigationDrawerRenderer.Init();


            SfListViewRenderer.Init();


            SfDataFormRenderer.Init();


            SfMaskedEditRenderer.Init();


            SfPopupLayoutRenderer.Init();

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 19
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental");
            global::Xamarin.Forms.Forms.Init();
            Syncfusion.SfChart.XForms.iOS.Renderers.SfChartRenderer.Init();
            SfCheckBoxRenderer.Init();
            Syncfusion.XForms.iOS.PopupLayout.SfPopupLayoutRenderer.Init();
            SfBackdropPageRenderer.Init();
            Syncfusion.XForms.iOS.TabView.SfTabViewRenderer.Init();
            SfDataFormRenderer.Init();
            SfTextInputLayoutRenderer.Init();
            SfRadioButtonRenderer.Init();
            SfSegmentedControlRenderer.Init();
            new Syncfusion.XForms.iOS.ComboBox.SfComboBoxRenderer();
            Syncfusion.XForms.iOS.Accordion.SfAccordionRenderer.Init();
            SfButtonRenderer.Init();
            SfListViewRenderer.Init();
            CachedImageRenderer.Init();
            var ignore = typeof(SvgCachedImage);

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 20
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();

            SfChartRenderer.Init();


            SfSunburstChartRenderer.Init();


            SfImageEditorRenderer.Init();


            SfDataGridRenderer.Init();


            SfPickerRenderer.Init();


            SfPdfDocumentViewRenderer.Init();


            SfRangeSliderRenderer.Init();


            SfScheduleRenderer.Init();


            SfGaugeRenderer.Init();


            SfDigitalGaugeRenderer.Init();


            SfLinearGaugeRenderer.Init();


            SfLinearProgressBarRenderer.Init();


            SfCircularProgressBarRenderer.Init();


            SfCalendarRenderer.Init();


            SfCarouselRenderer.Init();


            SfRotatorRenderer.Init();


            SfAutoCompleteRenderer.Init();


            SfBusyIndicatorRenderer.Init();


            SfNavigationDrawerRenderer.Init();


            SfNumericTextBoxRenderer.Init();


            SfNumericUpDownRenderer.Init();


            SfRadialMenuRenderer.Init();


            SfRatingRenderer.Init();


            SfMapsRenderer.Init();


            SfTreeMapRenderer.Init();


            SfPullToRefreshRenderer.Init();


            SfListViewRenderer.Init();


            SfKanbanRenderer.Init();


            SfRangeNavigatorRenderer.Init();


            SfSparklineRenderer.Init();


            SfBarcodeRenderer.Init();


            SfDataFormRenderer.Init();


            SfMaskedEditRenderer.Init();


            SfPopupLayoutRenderer.Init();


            SfDiagramRenderer.Init();


            SfTabViewRenderer.Init();


            SfCheckBoxRenderer.Init();


            SfRadioButtonRenderer.Init();


            SfSegmentedControlRenderer.Init();


            SfComboBoxRenderer.Init();

            LoadApplication(new FormsApp());

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 21
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            Core.Init();
            SfGradientViewRenderer.Init();

            SfChartRenderer.Init();


            SfSunburstChartRenderer.Init();


            SfImageEditorRenderer.Init();


            SfDataGridRenderer.Init();


            SfPickerRenderer.Init();


            SfPdfDocumentViewRenderer.Init();


            SfRangeSliderRenderer.Init();


            SfLinearProgressBarRenderer.Init();


            SfCircularProgressBarRenderer.Init();


            SfCalendarRenderer.Init();


            SfCarouselRenderer.Init();


            SfRotatorRenderer.Init();


            SfAutoCompleteRenderer.Init();


            SfBusyIndicatorRenderer.Init();


            SfNavigationDrawerRenderer.Init();


            SfNumericTextBoxRenderer.Init();


            SfNumericUpDownRenderer.Init();


            SfRatingRenderer.Init();


            SfMapsRenderer.Init();


            SfTreeMapRenderer.Init();


            SfPullToRefreshRenderer.Init();


            SfListViewRenderer.Init();


            SfRangeNavigatorRenderer.Init();


            SfDataFormRenderer.Init();


            SfMaskedEditRenderer.Init();


            SfPopupLayoutRenderer.Init();


            SfTabViewRenderer.Init();


            SfCheckBoxRenderer.Init();


            SfRadioButtonRenderer.Init();


            SfSegmentedControlRenderer.Init();


            SfComboBoxRenderer.Init();


            SfTextInputLayoutRenderer.Init();


            SfTreeViewRenderer.Init();


            SfButtonRenderer.Init();


            SfBorderRenderer.Init();


            SfBadgeViewRenderer.Init();


            SfExpanderRenderer.Init();


            SfCardViewRenderer.Init();


            SfCardLayoutRenderer.Init();


            SfAccordionRenderer.Init();


            SfSwitchRenderer.Init();


            SfRichTextEditorRenderer.Init();


            SfShimmerRenderer.Init();


            SfAvatarViewRenderer.Init();


            SfTimePickerRenderer.Init();


            SfDatePickerRenderer.Init();


            SfChatRenderer.Init();

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemplo n.º 22
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions)
        {
            Rg.Plugins.Popup.Popup.Init();

            global::Xamarin.Forms.Forms.Init();

            SfDataGridRenderer.Init();


            SfPdfDocumentViewRenderer.Init();


            SfRangeSliderRenderer.Init();


            SfScheduleRenderer.Init();


            SfLinearProgressBarRenderer.Init();


            SfCircularProgressBarRenderer.Init();


            SfCalendarRenderer.Init();


            SfBusyIndicatorRenderer.Init();


            SfNavigationDrawerRenderer.Init();


            SfNumericTextBoxRenderer.Init();


            SfNumericUpDownRenderer.Init();


            SfRadialMenuRenderer.Init();


            SfPullToRefreshRenderer.Init();


            SfDataFormRenderer.Init();


            SfPopupLayoutRenderer.Init();


            SfTabViewRenderer.Init();


            SfCheckBoxRenderer.Init();


            SfButtonRenderer.Init();

            SfAccordionRenderer.Init();

            CachedImageRenderer.Init();

            SfListViewRenderer.Init();

            ZXing.Net.Mobile.Forms.iOS.Platform.Init();

            LoadApplication(new App());

            return(base.FinishedLaunching(uiApplication, launchOptions));
        }
 public MainPage()
 {
     this.InitializeComponent();
     SfDataFormRenderer.Init();
     LoadApplication(new DataForm_FSharp.App());
 }