public MainPage()
        {
            InitializeComponent();
            SupportedOrientations = SupportedPageOrientation.PortraitOrLandscape;

            Forms.Init();
            Xamarin.FormsMaps.Init();

	        var app = new FormsGallery.App();
	        LoadApplication(app); // new in 1.3
        }
Example #2
0
        public MainPage()
        {
            InitializeComponent();
            SupportedOrientations = SupportedPageOrientation.PortraitOrLandscape;

            Forms.Init();
            Xamarin.FormsMaps.Init();

            var app = new FormsGallery.App();

            LoadApplication(app);     // new in 1.3
        }