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 } } }