We have a search screen with paging 3. Each time a...
# coroutines
i
We have a search screen with paging 3. Each time a new word is typed we create a new flow with a new PagingSource doing api requests. How do I plug those new flows to my ViewModel flow? Right now I’m reEmiting them to my flow, but I’d rather reassign my flow to paging flow each time, which I can’t do
j
Maybe you can consider using flatMapLatest?