Hello everyone, is there a way to make paging display always a fixed number of items? I have a Realtime database which can reach thousands of items so it's not good idea to keep loading items to memory and make the app slow. Also I need to search/filter items by phone number in the entire list from the Realtime database. Is there something like this already done? How could I do this?
I'm thinking of using Room to store all the items from DB so I can search easily. Now the part of keeping a fixed number of elements in the pager I don't have an idea.