try using a livedata and making a result for search ui data state, while that livedata is returning the searhing preogress state, no data will be upudate for search results
The not clean way of doing it is to send empty query from your ui and start it off then invalidate the data source and send the query each time you need to.
How do I pass a search query from the ui to the viewmodel each time a user wants to make a new search?
try using a livedata and making a result for search ui data state, while that livedata is returning the searhing preogress state, no data will be upudate for search results
The not clean way of doing it is to send empty query from your ui and start it off then invalidate the data source and send the query each time you need to.
That's awesome, thanks for sharing.
All the best you're about to reach 1M subs. 🙂
Thanks for material :)
Productive lecture
lol active lecture...
@@marlonlom I checked there's n comment so I decided to being the first person to comment
Now tell us please how to update single item in Paging results. For example, if I want to put like on post
You can map paging data which is provided by Flow😊
This stuff is so complicated. 😥