Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public static void Main()
 {
     TestApplication.App app = new TestApplication.App();
     app.InitializeComponent();
     app.Run();
 }
Exemplo n.º 3
0
 public static void Main() {
     TestApplication.App app = new TestApplication.App();
     app.InitializeComponent();
     app.Run();
 }