private void LoadChannels()
        {
            List <String> channelList = _model.GetChannelList();

            _view.Channel.ItemsSource = channelList;
            if (_TVSeriesExtended != null)
            {
                _view.Channel.Text = _TVSeriesExtended.Channel;
            }
        }
        private void InitializeFilters()
        {
            _filters = new Filters();
            var genreList = _model.GetGenreList();

            foreach (String item in genreList)
            {
                _filters.FilterGenre.AddFilterItem(new FilterItem(item, false));
            }
            var channelList = _model.GetChannelList();

            foreach (String item in channelList)
            {
                _filters.FilterChannel.AddFilterItem(new FilterItem(item, false));
            }
            SetFilterListAtView();
        }
Beispiel #3
0
 private void LoadChannelList()
 {
     ListViewChannels.ItemsSource = _model.GetChannelList();
 }