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

Apache License 2.0
77 stars 84 forks source link

Persist data with Room #102

Closed Elaws closed 7 months ago

Elaws commented 7 months ago

URL of codelab:

Codelab url

In which task and step of the codelab can this issue be found?

  1. Before you begin.

Describe the problem

A prerequisite for this lesson is :

Ability to use ViewModelProvider.Factory to instantiate the ViewModels.

However, it's the first time this ViewModelProvider.Factory is ever mentionned in the whole Android Basics with Compose course. It would be nice to add this missing tutorial somewhere.

Elaws commented 7 months ago

Actually, ViewModelProvider.Factory is mentioned here