protected override async Task <bool> GetDataAsync() { var resource = new DocumentResource(Context, DataViewMode.HasValue ? DataViewMode.Value : Api.DataViewMode.Live); _results = await resource.GetDocumentsAsync(DocumentListName, startIndex : StartIndex, pageSize : PageSize, sortBy : SortBy, filter : Filter, responseFields : ResponseFields); TotalCount = _results.TotalCount; PageCount = _results.PageCount; PageSize = _results.PageSize; return(_results.Items != null && _results.Items.Count > 0); }