Skip to content

PseudoCacheMergeFragment: onNext now only adds the next 'contributor'… #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

JimVercoelen
Copy link

CashMergeFragment only adds the next contributor at a time instead of clearing & updating entire adapter for each next contributor.

… at a time instead of the entire adapter clear & reload.
@kaushikgopal
Copy link
Owner

heya thanks for this but the problem with this approach is that the previously added "stale" data remains in the list. if you spin up the example you'll notice both JW[0] and JW[800] in the list.

we could be smart and only update the results but that's why i went nuclear and just wiped the whole list and re-added :)

closing this for now. if you feel strongly that we should do this better, please feel free to reopen with changes to the PR, so stale date doesn't remain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants