Add project files.

This commit is contained in:
Vova
2024-01-15 07:49:55 +02:00
parent 0f23024c49
commit df51ee3ad6
56 changed files with 1766 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
using System.Windows.Input;
namespace TV_Player
{
public class MainViewModel : ObservableViewModelBase
{
private List<GroupInfo> _programs;
public List<GroupInfo> Programs
{
get => _programs;
set => SetProperty(ref _programs, value);
}
public GroupInfo SelectedItem { get; set; }
public ICommand ItemSelectedCommand { get; }
public MainViewModel()
{
ItemSelectedCommand = new Command(OnItemSelected);
ProgramsData.Instance.GroupsInformation.Subscribe(x=>Programs = x);
}
private void OnItemSelected()
{
}
}
}