Skip to content
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

Support PagingData + coroutines? #193

Open
llleodeleon opened this issue Jul 2, 2020 · 4 comments
Open

Support PagingData + coroutines? #193

llleodeleon opened this issue Jul 2, 2020 · 4 comments

Comments

@llleodeleon
Copy link

PagedList has been deprecated in the latest version of the jetpack Paging library.

Is it possible to have an adapter that works with PagingData?

@evant
Copy link
Owner

evant commented Jul 2, 2020

The new paging lib is still in alpha, but if someone wants to submit a pr I'd be happy to take a look.

@kedzie
Copy link

kedzie commented Aug 5, 2020

I have a PR in the works. I'm putting together a sample. will see how it goes.

Using AsyncPagingDataDiffer to update the BindingRecyclerViewAdapter. Could store that in the view tag instead of the ObserveableList. ...or maintain an ObserveableList in memory based on the diff. anyway I'll see how it goes.

@kedzie
Copy link

kedzie commented Aug 6, 2020

PR up. would like to hear your thoughts. #194

@KatieBarnett
Copy link

Keen on this too!

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

No branches or pull requests

4 participants