Android Jetpack:How to combine the Paging with Room

Viewed 53

I'm using Paging3. And I have a local database, here is a DAO function.

    public PagingSource<Integer, Item> getPagingItems();

I want to know, how to sse this PagingSource to display data to Recyclerview. And It can change with the data in the database. What should I do?

0 Answers
Related