You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.
codelab: android-kotlin-fundamentals
Initializing a ViewModel object using ViewModelProviders.of() method.
In the codelab the GameFragment ViewModel is initalized like this:
The ViewModelProviders.of() method seems to be deprecated and now a ViewModel is initialized a followed:
The issue is found in:
Android Kotlin Fundamentals 05.1: ViewModel and ViewModelFactory, Lesson 5, Step 3.
Versions:
The text was updated successfully, but these errors were encountered: