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