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

Android Kotlin Fundamentals codelab: #181

Closed
SHONPRINSONFERRAO opened this issue May 28, 2020 · 1 comment
Closed

Android Kotlin Fundamentals codelab: #181

SHONPRINSONFERRAO opened this issue May 28, 2020 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@SHONPRINSONFERRAO
Copy link

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

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

Additional information
Please refer to this link
https://developer.android.com/reference/androidx/lifecycle/ViewModelProviders

codelab: android-kotlin-fundamentals

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

Duplicate of #29

@GeneAndGoogle GeneAndGoogle marked this as a duplicate of #29 Jun 10, 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