Why do the functions from my repository fail to access the data from my room database
I have created a room database in my app and I can add data to it with the functions I have written, but I cannot retrieve them. My goal is simply to save usernames and email and retrieve them when they are modified so that I can display the change in my UI. The problem is that my functions do not retrieve the info and simply return the default value like null or empty strings.
@PrimaryKey(autoGenerate = true) inserted ID is always 0
MyEntity