https://kotlinlang.org logo
Title
u

user

06/24/2022, 2:11 PM
Combining two flows of paging data before showing in UI I have this recycler view that shows paginated data with a PagingDataAdapter. It works well when making a single request to the service but I sometimes need to make two requests to get old and new events and show both in my recycler view. Is there a way I can combine the two flows of paginated data before showing them to the user? As it is, if I make the two requests, only the last one remains because of the invalidate() in the submitData method. This is the current implementation that...