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

Android Kotlin Fundamentals codelab: #210

Closed
Shabinder opened this issue Jun 16, 2020 · 1 comment
Closed

Android Kotlin Fundamentals codelab: #210

Shabinder opened this issue Jun 16, 2020 · 1 comment

Comments

@Shabinder
Copy link

Describe the problem
Log.i("GameFragment", "Called ViewModelProviders.of")
viewModel = ViewModelProviders.of(this).get(GameViewModel::class.java)

In here, ViewModelProviders.of is being notified as deprecated so please update codelab too.
In which lesson and step of the codelab can this issue be found?
lesson 5.1 , Task 5

How to reproduce?
What are the exact steps to reproduce the problem?
just update all dependencies and while configuring you will face this.

Versions

  1. What version of Android Studio are you using?
    v4.0
  2. What API level are you targeting?
    29

codelab: android-kotlin-fundamentals

@kkuan2011
Copy link

Duplicate of #33

@kkuan2011 kkuan2011 marked this as a duplicate of #33 Aug 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants