google-developer-training / basic-android-kotlin-compose-training-inventory-app

Apache License 2.0
77 stars 84 forks source link

Persist data with Room #66

Open putterfly opened 1 year ago

putterfly commented 1 year ago

URL of codelab: https://developer.android.com/codelabs/basic-android-kotlin-compose-persisting-data-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?

Describe the problem This class has one method that returns the existing instance of the RoomDatabase if the database doesn't exist.

I think it should be :

This class has one method that returns the existing instance of the RoomDatabase OR INSTANTIATE ONE if the database doesn't exist.

Steps to reproduce?

  1. Go to...
  2. Click on...
  3. See error...

Versions Android Studio version: API version of the emulator:

Additional information Include screenshots if they would be useful in clarifying the problem.