Esempio n. 1
0
        // Note that we ignore parameter 'count' because we only want to load 1 page at a time
        protected async override Task <IList <object> > LoadMoreItemsOverrideAsync(System.Threading.CancellationToken c, uint count)
        {
            int page = this.Count / APICommon.FETCH_SIZE;

            RequirementsListAPI data = await Requirements.Get(page, APICommon.FETCH_SIZE, title, status);

            this.count = data.recordCount;

            return(data.data.ToArray());
        }