summaryrefslogtreecommitdiff
path: root/csharp/test/xamarin/controller/App.xaml.cs
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-09-12 14:48:57 +0200
committerJose <jose@zeroc.com>2018-09-12 14:48:57 +0200
commitf9801ab21989e330015ffa274493e775671fe865 (patch)
tree99f7cf77ab7863117aa8ee7f2f8047afc6351d58 /csharp/test/xamarin/controller/App.xaml.cs
parentMissing C++ header include (diff)
downloadice-f9801ab21989e330015ffa274493e775671fe865.tar.bz2
ice-f9801ab21989e330015ffa274493e775671fe865.tar.xz
ice-f9801ab21989e330015ffa274493e775671fe865.zip
Make test controllers layout more consistent
Close #184
Diffstat (limited to 'csharp/test/xamarin/controller/App.xaml.cs')
-rw-r--r--csharp/test/xamarin/controller/App.xaml.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/csharp/test/xamarin/controller/App.xaml.cs b/csharp/test/xamarin/controller/App.xaml.cs
new file mode 100644
index 00000000000..6e57ac575b0
--- /dev/null
+++ b/csharp/test/xamarin/controller/App.xaml.cs
@@ -0,0 +1,32 @@
+using System.Reflection;
+using Xamarin.Forms;
+using Xamarin.Forms.Xaml;
+
+[assembly: XamlCompilation (XamlCompilationOptions.Compile)]
+namespace controller
+{
+ public partial class App : Application
+ {
+ public App (Test.PlatformAdapter platformAdapter)
+ {
+ InitializeComponent();
+
+ MainPage = new MainPage(platformAdapter);
+ }
+
+ protected override void OnStart ()
+ {
+ // Handle when your app starts
+ }
+
+ protected override void OnSleep ()
+ {
+ // Handle when your app sleeps
+ }
+
+ protected override void OnResume ()
+ {
+ // Handle when your app resumes
+ }
+ }
+}