protected override async Task <bool> Read(bool addEmptyElement = true) { if (await base.Read(addEmptyElement)) { ProductCategoryList categories; try { categories = await ProductsServiceClient.GetProductCategoriesAsync(); } catch (Exception exception) { DisplayAlert(exception); return(false); } foreach (var category in categories) { items.Add(category); } } return(true); }