Android Room one to many relation empty list
I have followed different tutorials and Stackoverflow post, yet I don´t get why my list of prices is empty.
I have two entities. Game and Price. Each game can have several prices.
Entity Game:
@Entity(tableName = "game_table")
data class Game(
@PrimaryKey(autoGenerate = false)
val appId: Int,
val name: String,
val imageUrl: String,
val isWindows: Boolean,
val isMac: Boolean,
val isLinux: Boolean,
val gameUrl: String
)
Entity Price:
@Entity(tableName =...