protected override async Task LoadData() { IEbayService ebayService = DependencyService.Get <IEbayService>(); List <Category> categories = await ebayService.GetCategories(_parentCategory); _listV.ItemsSource = categories; }
public async override Task Initialize() { await base.Initialize(); PageTitle = ((_parentCategory == null) ? string.Empty : _parentCategory.CategoryName + " ") + "Categories"; Rows = await _ebayService.GetCategories(_parentCategory); }