You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to create an abstract RoomDatabase class and annotate it with @Database. This class has one method that returns the existing instance of the RoomDatabase if the database doesn't exist.
Perhaps it should be changed to:
This class has one method that returns a new instance of the RoomDatabase if the database doesn't exist or the existing instance otherwise.
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.
The text was updated successfully, but these errors were encountered:
URL of codelab:
Persist data with Room
Specify the language of the codelab if it is not English:
In which task and step of the codelab can this issue be found?
7. Create a Database instance
Describe the problem
Perhaps it should be changed to:
Steps to reproduce?
Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.
The text was updated successfully, but these errors were encountered: