Inheritance: MvxBaseTouchViewPresenter
Ejemplo n.º 1
0
        public override void FinishedLaunching(UIApplication application)
        {
            var presenter = new MvxTouchViewPresenter(this, Window);

            var setup = new Setup(this, presenter);
            setup.Initialize();

            var startup = Mvx.Resolve<IMvxAppStart>();
            startup.Start();
        }
Ejemplo n.º 2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            _window = new UIWindow(UIScreen.MainScreen.Bounds);
            var presenter = new MvxTouchViewPresenter(this, _window);
            var setup = new Setup(this, _window);
            setup.Initialize();

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

            _window.MakeKeyAndVisible();
            return true;
        }
Ejemplo n.º 3
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            _window = new UIWindow (UIScreen.MainScreen.Bounds);

            var presenter = new MvxTouchViewPresenter(this, _window);
            var setup = new Setup(this, presenter);
            setup.Initialize();

            this.GetService<IMvxStartNavigation>().Start();

            UINavigationBar.Appearance.TintColor = UIColor.Black;

            _window.MakeKeyAndVisible ();

            return true;
        }
Ejemplo n.º 4
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            var presenter = new MvxTouchViewPresenter (this, window);

            var setup = new Setup (this, presenter);
            setup.Initialize ();

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

            // Hide Navigation Bar
            presenter.MasterNavigationController.SetNavigationBarHidden (true, false);
            window.MakeKeyAndVisible ();

            return true;
        }
Ejemplo n.º 5
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)
        {
            _window = new UIWindow (UIScreen.MainScreen.Bounds);

            // initialize app for single screen iPhone display
            var presenter = new MvxTouchViewPresenter(this, _window);
            var setup = new Setup(this, presenter);
            setup.Initialize();

            // start the app
            var start = this.GetService<IMvxStartNavigation>();
            start.Start();

            _window.MakeKeyAndVisible ();

            return true;
        }
Ejemplo n.º 6
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            // create a new window instance based on the screen size
            Window = new UIWindow (UIScreen.MainScreen.Bounds);

            var presenter = new MvxTouchViewPresenter(this, Window);

            var setup = new Setup(this, presenter);
            setup.Initialize();

            var start = Mvx.Resolve<IMvxAppStart>();
            start.Start();

            Window.MakeKeyAndVisible();

            return true;
        }
Ejemplo n.º 7
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)
		{
			// create a new window instance based on the screen size
			window = new UIWindow (UIScreen.MainScreen.Bounds);

			var presenter = new MvxTouchViewPresenter(this, window);
			var setup = new Setup(this, presenter);
			setup.Initialize();
			
			// start the app
			var start = this.GetService<IMvxStartNavigation>();
			start.Start();

			// make the window visible
			window.MakeKeyAndVisible ();
			
			return true;
		}
Ejemplo 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)
        {
            // create a new window instance based on the screen size
            _window = new UIWindow (UIScreen.MainScreen.Bounds);

            // If you have defined a view, add it here:
            // window.AddSubview (navigationController.View);
            var presenter = new MvxTouchViewPresenter(this, _window);
            var setup = new Setup(this, presenter);
            setup.Initialize();

            var simpleStart = new MvxSimpleStartApplicationObject<PetShopViewModel>();
            simpleStart.Start();

            // make the window visible
            _window.MakeKeyAndVisible ();

            return true;
        }
Ejemplo 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)
		{
			// create a new window instance based on the screen size
			window = new UIWindow (UIScreen.MainScreen.Bounds);
			
			// initialize app for single screen iPhone display with no modal support
            var presenter = new MvxTouchViewPresenter(this, window);
   			var setup = new Setup(this, presenter);
			setup.Initialize();
			
			// start the app
			var start = this.GetService<IMvxStartNavigation>();
			start.Start();

            window.MakeKeyAndVisible();
			
            //UIDevice.CurrentDevice.BeginGeneratingDeviceOrientationNotifications();		
			
			return true;
		}
Ejemplo 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)
        {
            // create a new window instance based on the screen size
            window = new UIWindow (UIScreen.MainScreen.Bounds);

            // If you have defined a root view controller, set it here:
            var presenter =
                new MvxTouchViewPresenter(this, window);

            var setup = new Setup(this, presenter);
            setup.Initialize();

            var start = Mvx.Resolve<IMvxAppStart>();
            start.Start();

            // make the window visible
            window.MakeKeyAndVisible ();

            return true;
        }
Ejemplo n.º 11
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            window = new UIWindow(UIScreen.MainScreen.Bounds);

            var presenter = new MvxTouchViewPresenter(this, window);
            var s = new Setup(this, presenter);
            s.Initialize();

            // start the app
            var start = this.GetService<IMvxStartNavigation>();
            start.Start();

            //Start Geo location tracking
            var geo = this.GetService<WshLst.Core.Interfaces.IGeolocator>();
            geo.StartTracking();

            // make the window visible
            window.MakeKeyAndVisible();

            return true;
        }
Ejemplo n.º 12
0
 public Setup(MvxApplicationDelegate applicationDelegate, MvxTouchViewPresenter presenter)
     : base(applicationDelegate, presenter)
 {
 }