[Sprint/Votes](bug): Hard coded a stop for duplicate blog entries being added based on length
1 unresolved thread
Is the data held in response.entities here the full list of entries to be displayed regardless of which tab it is on? For example, if it only grabs 64 entries at a time, and then another call is made later for the next entries [65-128], this will not work.
Merge request reports
Activity
30 30 response.entities.shift(); 31 31 } 32 32 response.entities = BlogModel.createMany(response.entities); 33 if(response.entities.length === this.list.entities.slice(0).length) return; I think that here the blog service needs to use the request abort. The flat list fires the
OnEndReached
event many times usually.For example: https://gitlab.com/minds/mobile-native/blob/master/src/groups/GroupsService.js#L21
That seems to have stopped any second call being made, but allows you to scroll down through white space.
Edited by Ben
Please register or sign in to reply