Example #1
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            App app;
            if (Perspex.Application.Current != null)
                app = (App)Perspex.Application.Current;
            else
                app = new App();
           

            MainWindow.RootNamespace = "Perspex.AndroidTestApplication";
            var window = MainWindow.Create();

            window.Show();
            app.Run(window);
        }
Example #2
0
 public static void Main()
 {
     TestApplication.App app = new TestApplication.App();
     app.InitializeComponent();
     app.Run();
 }
Example #3
0
 public static void Main() {
     TestApplication.App app = new TestApplication.App();
     app.InitializeComponent();
     app.Run();
 }