示例#1
0
 protected override void OnCreate(Bundle bundle)
 {
     base.OnCreate(bundle);
     Forms.Init(this, bundle);
     BarCodes.Init(this);
     this.LoadApplication(new App());
 }
示例#2
0
 public override bool FinishedLaunching(UIApplication app, NSDictionary options)
 {
     BarCodes.Init();
     Forms.Init();
     this.LoadApplication(new App());
     return(base.FinishedLaunching(app, options));
 }
示例#3
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            BarCodes.Init(() => (Activity)Forms.Context);

            Forms.Init(this, bundle);
            this.LoadApplication(new App());
        }
示例#4
0
 public MainPage()
 {
     this.InitializeComponent();
     this.SupportedOrientations = SupportedPageOrientation.PortraitOrLandscape;
     Forms.Init();
     BarCodes.Init();
     this.LoadApplication(new Samples.App());
 }
示例#5
0
 protected override void OnCreate(Bundle bundle)
 {
     base.OnCreate(bundle);
     BarCodes.Init(this);
     global::Xamarin.Forms.Forms.Init(this, bundle);
     ImageCircleRenderer.Init();
     LoadApplication(new WherePhoneApp());
 }
示例#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)
        {
            BarCodes.Init();
            global::Xamarin.Forms.Forms.Init();
            LoadApplication(new App());
            ImageCircleRenderer.Init();

            return(base.FinishedLaunching(app, options));
        }
示例#7
0
 public MainPage()
 {
     InitializeComponent();
     SupportedOrientations = SupportedPageOrientation.PortraitOrLandscape;
     BarCodes.Init();
     global::Xamarin.Forms.Forms.Init();
     ImageCircleRenderer.Init();
     LoadApplication(new WherePhoneApp());
 }
示例#8
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            Xamarin.Forms.Forms.Init(this, bundle);
            BarCodes.Init(() => (Activity)Forms.Context);

            //configuração do firebase
            topics = new List <string>();
            if (IsPlayServicesAvailable())
            {
                if (FirebaseInstanceId.Instance.Token != null)
                {
                    MakeGetRequest(FirebaseInstanceId.Instance.Token);
                }
            }

            Self = this;
            LoadApplication(new App());
        }