Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Android Kotlin Fundamentals codelab: #106

Closed
TamerBorg opened this issue Apr 14, 2020 · 1 comment
Closed

Android Kotlin Fundamentals codelab: #106

TamerBorg opened this issue Apr 14, 2020 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@TamerBorg
Copy link

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

@GeneAndGoogle GeneAndGoogle added the duplicate This issue or pull request already exists label May 14, 2020
@GeneAndGoogle
Copy link
Contributor

Duplicate of #29

@GeneAndGoogle GeneAndGoogle marked this as a duplicate of #29 May 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants