profile
viewpoint
Stephen Smith frustr8dlec Lincoln College

jmskc/Windows10Dock 2

Windows10Dock

frustr8dlec/OOP-SA02-StationLog 1

Template for the BSc. Computer Science Assignment

frustr8dlec/SimpleCalc 1

Testing and debugging

frustr8dlec/CryptoTracker 0

Crypto Currency Tracker

frustr8dlec/demo 0

Git Demo

frustr8dlec/DemoJSONAPI 0

Demonstration of accessing an API using OkHttp

frustr8dlec/DemoLocation 0

A simple example of using location

frustr8dlec/frustr8dlec 0

Config files for my GitHub profile.

frustr8dlec/gatsby-gitbook-starter 0

Generate GitBook style modern docs/tutorial websites using Gatsby + MDX

issue openedgoogle-developer-training/android-fundamentals-apps-v2

Android Kotlin Fundamentals codelab:

Describe the problem A clear and concise description of what the problem is. Using Deprecated code calls In which lesson and step of the codelab can this issue be found?

All room view model examples are using async task (deprecated) Use of deprecated ViewModelProviders.of(this)

Lesson number + step number. Android fundamentals 10.1 Part A: Room, LiveData, and ViewModel All database code uses Async Task (Deprecated).

Android fundamentals 10.1 Part B: Deleting data from a Room database

How to reproduce? What are the exact steps to reproduce the problem? In Android fundamentals 10.1 Part B: Deleting data from a Room database

mWordViewModel = ViewModelProviders.of(this).get(WordViewModel.class);

should be

mWordViewModel = ViewModelProvider(this).get(WordViewModel.class);

Versions

  1. What version of Android Studio are you using? Android Studio Arctic Fox | 2020.3.1 Patch 4

  2. What API level are you targeting? minSdkVersion 28 targetSdkVersion 31

Additional information Add any other context about the problem here.

codelab: android-fundamentals

created time in 15 days

PublicEvent
more