protected override void OnCreate(Bundle bundle)
        {
            DefaultUncaughtExceptionHandler = this;
            HandleExceptions();
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;

            AndroidInitializer.Init(this, bundle);
            Forms.Init(this, bundle);

            // The app was launched with the splash screen theme, so change it to the main theme now
            base.SetTheme(Resource.Style.MainTheme);

            base.OnCreate(bundle);

            var app = new App();

            // Handle startup urls
            HandleOnCreateIntent(app); // Startup urls
            HandleFullyDrawn(app);     // Android diagnostics
            HandleAppPermissions(app); // Location, bluetooth, etc.

            LoadApplication(app);
        }