You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.0 KiB

using System;
using Model;
using System.Collections.ObjectModel;
using System.ComponentModel;
using VeiwModel;
using System.Windows.Input;
using Microsoft.Maui.Controls;
namespace League_of_legendes2.ViewModel
{
public class MainVM : INotifyPropertyChanged
{
//private readonly IDataManager dataManager;
public event PropertyChangedEventHandler PropertyChanged;
void OnPropsChanged(string name) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
public INavigation Navigation { get; set; }
ManagerVM managerVM;
//private ManagerVM managerVM = new(new ChapionVM());
public MainVM()
{
//ChapionVMs = new ReadOnlyObservableCollection<ChapionVM>(chapionVMs);
//LoadChamps();
}
//private async Task OnChampSelection()
//{
// // managerVM.SelctedChampVM = args.Item as ChapionVM;
// await Navigation.PushAsync(new Pages.Details());
//}
}
}