This repository has been archived by the owner on Jul 24, 2023. It is now read-only.
Android Kotlin Fundamentals codelab: #106
Labels
duplicate
This issue or pull request already exists
Describe the problem
viewModel = ViewModelProviders.of(this).get(GameViewModel::class.java)
update to
viewModel = ViewModelProvider(this).get(GameViewModel::class.java)
In which lesson and step of the codelab can this issue be found?
https://codelabs.developers.google.com/codelabs/kotlin-android-training-view-model/index.html?index=..%2F..android-kotlin-fundamentals#4
The text was updated successfully, but these errors were encountered: