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

Advanced Android in Kotlin: Notifications 1.1 [Step #][description] #61

Open
Wavey1287 opened this issue Mar 22, 2023 · 1 comment
Open

Comments

@Wavey1287
Copy link

Wavey1287 commented Mar 22, 2023

EggTimerFragment.kt

val viewModel = ViewModelProviders.of(this).get(EggTimerViewModel::class.java)

ViewModelProviders is DEPRECATED

Updating the Fragment to use current methods for initializing the ViewModel requires different dependencies. Using these dependencies, however, breaks the app. Google, please keep your codelabs up to date. You shouldn't be teaching with deprecated
classes or dependencies.

@Wolf00Bomber
Copy link

Why isn't this Repo being updated to reflect the fast paced changes in Android ? Its like every time something new gets added by Google into Android, this breaks!

Something new comes, Google doesn't make its responsibility to update the Repo. Current Culture is making us mad.

Facing new Issues:

  1. When updating to newer SDK versions like 31-33, it give us MUTABILITY Flag (PendingIntent Related) issue.
  2. Say we want to send a parcel inside the Intent with some user info, this doesn't work.

Why doesn't the Repo come to Realistic requirement which people face, is a thing God only can Know.(Go See the Anime!)

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