How to reactively observe the results of a Android Room query that receives arguments
I am a beginner in Android. What I want to do is the following
Pass parameters received from the screen to the ViewModel and issue a SELECT query by Room.
Update the values in the ViewModel.
Update the values in the ViewModel Reactively reflect the result of the SELECT in the UI
How can I reactively observe a query with arguments?
The following ViewModel updateItemsByCategoryId() does not work because the type is different.
class ItemListViewModel @Inject...