Exemplo n.º 1
0
 public MenuPageViewModel(HOPage root, INavigation navigation = null)
     : base(navigation)
 {
     _sponsorService = DependencyService.Get <ISponsorService>();
     _menuService    = DependencyService.Get <IMenuService>();
     _root           = root;
     MenuItems       = _menuService.GetMenus();
     Sponsors        = new ObservableCollection <Sponsor>(_sponsorService.GetDownloadedSponsors());
 }