Consider integration with Paging library once it is stable
See original GitHub issueSee https://medium.com/@Zhuinden/live-paged-lists-architecture-components-and-room-or-realm-268c9299a661
and
Although I’m sure the API can be nicer (not having to explicitly open/close, and while keep the notification could be moved to a background handler thread, but otherwise use refresh() in the do { while loop on the io() scheduler of the computable live data.
Issue Analytics
- State:
- Created 6 years ago
- Comments:22 (12 by maintainers)
Top Results From Across the Web
Paging - Android Developers
The Paging Library makes it easier for you to load data gradually and gracefully within your app's RecyclerView. This table lists all the...
Read more >How to Implement The Paging 3 Library in Android Kotlin?
Implement Paging 3 Library in Android Kotlin · Step 1: Implementation of Library into Project: · Step 2: Generating Data Models · Step...
Read more >Learn with code: Jetpack Compose — Lists and Pagination ...
Learn about paging library and infinite lists using jetpack compose. ... When we think about lists the first thing that comes to mind...
Read more >CRUD operations with the new Android Paging v3
Even though the new Paging v3 is still in alpha, it feels more mature than the v2 stable one: this last version is...
Read more >Android paging library with RxJava and REST API - Medium
Hot it work. Let's consider we have REST API here when the data come from DataSource on a background thread ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi everyone,
To be consistent and use support libraries, I’m wanting to implement Paging support library because I need to fetch data from the API when needed.
LivePagedListBuilderrequireDataSourceandPagedList.BoundaryCallbackimplementations.Because previous comments are 5 months old, I just wanted to know if an official
RealmDataSourceis on a way or not at all ?I think it would be nice to have one, like ObjectBox do for example.
Thanks.
@mhdtouban Sorry, I was mainly thinking about the use case where you had all data stored locally. I do agree that the paging library nicely provides a lot of utility where you need to fetch the data from the server first.