public StatsPageView() { NavigationPage.SetHasNavigationBar(this, false); BackgroundColor = Color.FromHex(Theme.Current.AppBackgroundColor); Padding = _padding; var statsPageViewModel = new StatsPageViewModel(new PlatformServices()); statsPageViewModel.Init(); BindingContext = statsPageViewModel; createViews(); }