public FitnessSettingsView()
 {
     InitializeComponent();
     BindingContext      = ViewModel = new FitnessSettingsViewModel(this.Navigation);
     GoalValueLabel.Text = ViewModel.Goal.ToString();
     SensitivitySlider.BindingContext = ViewModel;
 }
        public FitnessSettingsPage()
        {
            var fitnessSettingsView = new FitnessSettingsView()
            {
                BindingContext = FitnessSettingsViewModel = new FitnessSettingsViewModel(this.Navigation)
            };


            _stackLayout = new StackLayout()
            {
                Spacing  = 0,
                Padding  = 10,
                Children =
                {
                    fitnessSettingsView
                }
            };
            Content = _stackLayout;
        }