You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since ObjectBox 2.0.0 there is an implementation of LiveData<PagedList< DATAENTITYMODEL >>,
which was a very good integration with androids paging2 library back then.
Thanks for your suggestion! As things keep changing (think Jetpack Compose) and this is often very use case specific, I don't think we will provide this.
Is there an existing issue?
Use case
Using ObjectBox as the database for Android Apps i would like to use the pagination library paging3 from android.
See https://developer.android.com/topic/libraries/architecture/paging/v3-overview
Since ObjectBox 2.0.0 there is an implementation of LiveData<PagedList< DATAENTITYMODEL >>,
which was a very good integration with androids paging2 library back then.
Can you create a similar solution for use with the Android paging3 library?
https://developer.android.com/topic/libraries/architecture/paging/v3-overview#kts
Proposed solution
I would love to see an implementation of
Flow<PagingData< DATAENTITYMODEL >>
such that i can do, what is described here
https://developer.android.com/topic/libraries/architecture/paging/v3-paged-data#display-paged-data
Alternatives
Alternative: An implementation of PagingSource could also help to use the android paging3 library
https://developer.android.com/reference/kotlin/androidx/paging/PagingSource
The text was updated successfully, but these errors were encountered: