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