This repository has been archived by the owner on Jul 24, 2023. It is now read-only.
Android Kotlin Fundamentals codelab: #181
Labels
duplicate
This issue or pull request already exists
Describe the problem
ViewModelProviders.of(this) seems to be deprecated, instead, we can use ViewModelProvider(this)
In which lesson and step of the codelab can this issue be found?
Android Kotlin Fundamentals 05.1: ViewModel and ViewModelFactory
How to reproduce?
Please follow the steps as mentioned in the codelabs
Versions
Additional information
Please refer to this link
https://developer.android.com/reference/androidx/lifecycle/ViewModelProviders
codelab: android-kotlin-fundamentals
The text was updated successfully, but these errors were encountered: