public NavigationProvider(Context context)
        {
            _contents.Add(new MainMenuViewModel(context, this));

            _backCommand = new RelayCommand(delegate
            {
                GoBackward();
            });
            _backCommand.SetCanExecute(false);
        }
        public PlayersViewModel(Context context, INavigationProvider navigationProvider)
        {
            _context = context;
            _navigationProvider = navigationProvider;

            _detailsCommand = new RelayCommand(delegate
            {
                _navigationProvider.GoForward(new PlayerViewModel(_context.GetPlayer(_selectedPlayer)));
            });
            _detailsCommand.SetCanExecute(false);
        }
 public MainMenuViewModel(Context context, INavigationProvider navigationProvider)
 {
     _context = context;
     _navigationProvider = navigationProvider;
 }