<How to select and display a live table with kotli...
# stackoverflow
u
How to select and display a live table with kotlin, room, mvvm? In my First fragment, I create the team name (corresponding to my team_table). Then, I move on to the fragment for adding player names. I would like to display directly and only the list of players corresponding to the team. It seems to work when I want to update a player's name and come back to that player list. Otherwise, it shows me the list of all the players of all the teams. How can I do, please? Here's my code: class UserViewModel(application: Application):...