protected ScorePredictContentPage()
        {
            _viewModel = GetViewModel(ViewModelType);
            OnViewModelResolved(_viewModel);

            BindingContext = _viewModel;
        }
        protected ScorePredictContentPage(IDictionary<string, string> parameters)
        {
            _viewModel = GetViewModel(ViewModelType);
            OnViewModelResolved(_viewModel);
            ApplyViewModelParameters(_viewModel, parameters);

            BindingContext = _viewModel;
        }
 public virtual void ApplyViewModelParameters(ViewModelBase viewModel, IDictionary<string, string> parameters)
 {
     
 }
 public virtual void OnViewModelResolved(ViewModelBase viewModel)
 {
     
 }
 public override void ApplyViewModelParameters(ViewModelBase viewModel, IDictionary<string, string> parameters)
 {
     var year = parameters["Year"].AsInt();
     ((HistoryDetailViewModel) viewModel).Year = year;
 }