protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); running = false; SetContentView(Resource.Layout.KataCallout); // Create your application here eng = MKKAEngine.getEngine(); FindViews(); SetUpEvents(); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.QuestionLayout); // Create your application here eng = MKKAEngine.getEngine(); FindViews(); SetUpEvents(); Trivia t = GetTrivia(); LoadTrivia(t); }
protected override void OnCreate(Bundle savedInstanceState) { Xamarin.Forms.Forms.Init(this, savedInstanceState); string newPath = MKKAEngine.GetDatabasePath(); using (var assets = Assets.Open("Karate.db")) using (var dest = File.Create(newPath)) assets.CopyTo(dest); MKKAEngine.getEngine(); //Xamarin.Forms.DependencyService.Register<AndroidFileHelper>();*/ base.OnCreate(savedInstanceState); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); FindViews(); SetUpEvents(); }