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

Android Kotlin Fundamentals codelab: 05.1 ViewModelProviders deprecated #236

Closed
e-goto opened this issue Jun 29, 2020 · 2 comments
Closed

Comments

@e-goto
Copy link

e-goto commented Jun 29, 2020

Describe the problem
A clear and concise description of what the problem is.

ViewModelProviders.of is deprecated so we should use ViewModelProvider instead

In which lesson and step of the codelab can this issue be found?
Lesson number + step number.
5.1 step 5

How to reproduce?
What are the exact steps to reproduce the problem?
Just follow the steps on the page and you'll see the deprecation

Versions

  1. What version of Android Studio are you using? latest
  2. What API level are you targeting? 28

Additional information
Add any other context about the problem here.

codelab: android-kotlin-fundamentals

@e-goto e-goto changed the title Android Kotlin Fundamentals codelab: Android Kotlin Fundamentals codelab: 05.1 ViewModelProviders deprecated Jun 29, 2020
@ipshitaRB
Copy link

Duplicate of #33

@kkuan2011
Copy link

Yup it's a duplicate, thanks for reporting!

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

3 participants