Persist data with Room
Opened this issue · 2 comments
Omar-Maqboul commented
URL of codelab:
In which task and step of the codelab can this issue be found?
task 8, when you build the database
Describe the problem
the table name is items as stated in task 5, but in the query your typed item without "s" @query("SELECT * from item WHERE id = :id")
Steps to reproduce?
- Go to...
- Click on...
- See error...
Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.
android-dev-lxl commented
Table name should be items
@Entity(tableName = "items")
data class Item(
Updated the reference in the instructions, code snippet is correct