Coder Social home page Coder Social logo

advanced-android-kotlin-notifications's People

Contributors

geneandgoogle avatar yenerm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

advanced-android-kotlin-notifications's Issues

Advanced Android in Kotlin: Notifications 1.1 [Step # 4][wrong class name is given]

Describe the problem
Step 4.4 gives the wrong class name

In which lesson and step of the codelab can this issue be found?
Step 4, the line that says: "Open EggTimerFragment.kt and remove the notification code for Step 1.5."

How to reproduce?
The line should read "Open EggTimerViewModel.kt and remove the notification code for Step 1.5." since that is where the code is

codelab: advanced-android-kotlin

Advanced Android in Kotlin: Notifications 1.1 [Step 3][Add notifications to your app]

Describe the problem
A clear and concise description of what the problem is.
at these step the clue tell us to open the EggTimerFragment.kt, but actualy at the code snippet there is on the EggTimeViewModel.kt. And it makes the reader ambiguous.

In which lesson and step of the codelab can this issue be found?
Lessons 1.1 Step 3.4

How to reproduce?
What are the exact steps to reproduce the problem?

Versions

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

Additional information
Add any other context about the problem here.

codelab: advanced-android-kotlin

Advanced Android in Kotlin: Notifications 1.1 [Step 2][Grammar error]

Describe the problem
Grammar error("and and"):

In Step 1.1 you used egg_notification_channel_id as your notification channel, so now you need to actually create and and customize the notification settings and behavior of this channel.

In which lesson and step of the codelab can this issue be found?
https://codelabs.developers.google.com/codelabs/advanced-android-kotlin-training-notifications/#3
Lesson 4, Step 2

codelab: advanced-android-kotlin

Advanced Android in Kotlin: Notifications 1.1 Step 3

Describe the problem
The "Download Zip" button downloads the "master" branch instead of the "starter" branch.

In which lesson and step of the codelab can this issue be found?
Lesson 1.1 Step 3

How to reproduce?
Click on the "Download Zip" button

codelab: advanced-android-kotlin

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

Describe the problem
A clear and concise description of what the problem is.
The code described in the tutorial does not match the code provided from github
We are asked to download (or clone) a copy of the master branch ( I did both) the master
already contains the completed tasks we are asked to do through the exercise. Additionally, it refers
to some TODO items that are not marked in the code

In which lesson and step of the codelab can this issue be found?
Lesson number + step number. (e.g., Lesson 1.1, Step 1.3)
Advanced Android in Kotlin 01,1 Task 4 all steps
How to reproduce?
What are the exact steps to reproduce the problem?
Download the git as requested by the project and follow along the steps
Versions

  1. What version of Android Studio are you using? 4.1.2
  2. What API level are you targeting? 30

Additional information
Add any other context about the problem here.

codelab: advanced-android-kotlin

Advanced Android in Kotlin: Notifications 1.1 [Step 3][Step 3: Add notifications to your app]

Describe the problem
In Step 3: Add notifications to your app , step 4 , must be EggTimeViewModel.kt instead of EggTimerFragment.kt

In which lesson and step of the codelab can this issue be found?
Lesson 1.1, Step 3: Add notifications to your app

How to reproduce?
What are the exact steps to reproduce the problem?
In Step 3: Add notifications to your app , step 4 , must be EggTimeViewModel.kt instead of EggTimerFragment.kt

Versions

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

Additional information
Add any other context about the problem here.
https://developer.android.com/codelabs/advanced-android-kotlin-training-notifications#3

codelab: advanced-android-kotlin

Advanced Android in Kotlin: Notifications 1.1 The starter app from GitHub does not compile: No variants found for ':app'

Describe the problem
The starter project cloned from the GitHub repo cannot run. The following error is shown:

Gradle sync failed. No variants found for ':app'. Check build files to ensure at least one variant exists. at:

com.android.tools.idea.gradle.project.sync.idea.svs.AndroidModule.deliverModels(AndroidModule.kt:191)
  com.android.tools.idea.gradle.project.sync.idea.svs.AndroidExtraModelProvider$Worker.populateBuildModels(AndroidExtraModelProvider.kt:121)
  com.android.tools.idea.gradle.project.sync.idea.svs.AndroidExtraModelProvider.populateBuildModels(AndroidExtraModelProvider.kt:81)
  org.jetbrains.plugins.gradle.model.ProjectImportAction.addBuildModels(ProjectImportAction.java:247)
  org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:117)
  org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:42)
  org.gradle.tooling.internal.consumer.connection.InternalBuildActionAdapter.execute(InternalBuildActionAdapter.java:77)
  org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner$ActionRunningListener.runAction(ClientProvidedPhasedActionRunner.java:120)
  org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner$ActionRunningListener.run(ClientProvidedPhasedActionRunner.java:110)
  org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner$ActionRunningListener.buildFinished(ClientProvidedPhasedActionRunner.java:104)
  jdk.internal.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
  java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  java.base/java.lang.reflect.Method.invoke(Method.java:566)
  org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
  org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
  org.gradle.internal.event.DefaultListenerManager$ListenerDetails.dispatch(DefaultListenerManager.java:376)
  org.gradle.internal.event.DefaultListenerManager$ListenerDetails.dispatch(DefaultListenerManager.java:358)
  org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:58)
  org.gradle.internal.event.DefaultListenerManager$EventBroadcast$ListenerDispatch.dispatch(DefaultListenerManager.java:346)
  org.gradle.internal.event.DefaultListenerManager$EventBroadcast$ListenerDispatch.dispatch(DefaultListenerManager.java:333)
  org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:42)
  org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:230)
  org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:149)
  org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:58)
  org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.java:324)
  org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.java:234)
  org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:140)
  org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:37)
  org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
  com.sun.proxy.$Proxy13.buildFinished(Unknown Source)
  org.gradle.initialization.DefaultGradleLauncher.finishBuild(DefaultGradleLauncher.java:179)
  org.gradle.initialization.DefaultGradleLauncher.finishBuild(DefaultGradleLauncher.java:141)
  org.gradle.internal.invocation.GradleBuildController$3.create(GradleBuildController.java:83)
  org.gradle.internal.invocation.GradleBuildController$3.create(GradleBuildController.java:75)
  org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:183)
  org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:40)
  org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:75)
  org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:55)
  org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner.run(ClientProvidedPhasedActionRunner.java:60)
  org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
  org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
  org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:58)
  org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
  org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:39)
  org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:49)
  org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:44)
  org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:315)
  org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:305)
  org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:175)
  org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:101)
  org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
  org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:44)
  org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:49)
  org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:46)
  org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:78)
  org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:46)
  org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:31)
  org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:42)
  org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:28)
  org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)
  org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:52)
  org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:59)
  org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:36)
  org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:68)
  org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:38)
  org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:37)
  org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:26)
  org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)
  org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)
  org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:60)
  org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:32)
  org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:55)
  org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:41)
  org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:48)
  org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:32)
  org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
  org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
  org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
  org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
  org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
  org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
  org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
  org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
  org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
  org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
  org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
  org.gradle.util.Swapper.swap(Swapper.java:38)
  org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
  org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
  org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
  org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
  org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:62)
  org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
  org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
  org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:81)
  org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
  org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
  org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
  org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:295)
  org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
  org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
  java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
  java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
  org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
  java.base/java.lang.Thread.run(Thread.java:834)

I have tried invalidating caches and restart. The same error is displayed. This problem is both in the default "master" branch and in the "start" branch.

In which lesson and step of the codelab can this issue be found?
01.1: Using Android Notifications / 3. Getting Started

How to reproduce?
Clone the starter repo and try to run it in Android Studio:
git clone https://github.com/googlecodelabs/android-kotlin-notifications

Versions

  1. What version of Android Studio are you using? 4.2.1
  2. What API level are you targeting? The one from the starter project.

codelab: advanced-android-kotlin

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

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

In which lesson and step of the codelab can this issue be found?
Lesson number + step number. (e.g., Lesson 1.1, Step 1.3)

How to reproduce?
What are the exact steps to reproduce the problem?

Versions

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

Additional information
Add any other context about the problem here.

codelab: advanced-android-kotlin

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

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

In which lesson and step of the codelab can this issue be found?
Lesson number + step number. (e.g., Lesson 1.1, Step 1.3)

How to reproduce?
What are the exact steps to reproduce the problem?

Versions

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

Additional information
Add any other context about the problem here.

codelab: advanced-android-kotlin

Advanced Android in Kotlin: Notifications 1.1 [Step 7][Grammatical error in summary]

Describe the problem
Grammatical error in codelab summary: Use the NotificationManager class to create, send, update, and cancel a notification using.

In which lesson and step of the codelab can this issue be found?
Lesson 1.1, Step 7(summary)

Link: https://codelabs.developers.google.com/codelabs/advanced-android-kotlin-training-notifications/index.html?index=..%2F..advanced-android-kotlin-training#6

codelab: advanced-android-kotlin

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

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.

Advanced Android in Kotlin: Notifications 1.1 [Step #3][Incorrect branch name]

Describe the problem
Incorrect branch name specified on Step 1.3 of Lesson 1.1
The branch specified in the document is starter however, this branch is not
exists in https://github.com/googlecodelabs/android-kotlin-notifications
Instead the branch named start exists in the repo

In which lesson and step of the codelab can this issue be found?
Lesson 1.1, Step 1.3

How to reproduce?
Proceed to step 3 of
Advanced Android in Kotlin 01.1: Using Android Notifications

Versions

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

Additional information
Add any other context about the problem here.

codelab: advanced-android-kotlin

Advanced Android in Kotlin: Notifications 1.1 [Step 4][Duplicate activity only in background]

Describe the problem
Start the timer, put the app in the background, and wait for the notification to appear.
The notification content intent brings the user back to the timer screen with a new activity even though there is an activity in the background.
Which was added in the backstack and we need to click the device back button twice to exit the app.

In which lesson and step of the codelab can this issue be found?
Lesson: Notifications 1.1, Task 4, Step 4: Add a content intent.

How to reproduce?

  • Followed the same step mentioned in the doc
  • ...
  • Run the app again.
  • Set a timer, put the app in the background, and wait for the notification to appear.
  • Once you see the notification, click on the notification by pulling down the status bar, and observe how the app is brought to the foreground.
  • Click the device back button > will navigated to previously created activity.
  • Click again the device back button > will exit the app.

Versions

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

Additional information
Add any other context about the problem here.

codelab: advanced-android-kotlin

Fix Outstanding Issues to make it able to be recognised as a Library !

Describe the problem
Till date there are nearly 38 issues.

In which lesson and step of the codelab can this issue be found?
Lesson 1-end

How to reproduce?
Non Maintainability of Repo with upcoming changes in MVVM, Dagger, etc.

Versions
Version of Android Studio: Android Studio Electric Eel | 2022.1.1 Patch 1
API level targeting: API 21-33

Additional information
Update the Library regularly to be able to use it properly. This is an important Library for In App Notifications, which many use. If it gets outdated, we are screwed !

codelab: advanced-android-kotlin

Update Gradle dependencies versions

Both the project-level and the module-level build.gradle files display the following message several times in Android Studio 3.5:

A newer version of <package-name> than <codelab-version> is available: <updated-version>

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

Describe the problem
There is ф desynchronization between steps description and example of code.

In which lesson and step of the codelab can this issue be found?
Lesson 1.4, Step 3.4

How to reproduce?
Open the lesson and find required step.

codelab: advanced-android-kotlin
codelab_mistake

Fix override method signatures in MyFirebaseMessagingService

The class contained in the file MyFirebaseMessagingService.kt no longer overrides the methods in the superclass, FirebaseMessagingService, properly. In particular, the parameters passed into onMessageReceived() and onNewToken() are both non-nullable now (so the ?'s should be removed).

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

Describe the problem
wrong description
in the step 3 says you have to open “EggTimerFragment.kt” but the code is in viewmodel where TODO 1.5 is.

In which lesson and step of the codelab can this issue be found?
Lesson number + step number. (e.g., Lesson 1.1, Step 1.3)
[Advanced Android in Kotlin 01.1: Using Android Notifications](https://developer.android.com/codelabs/advanced-android-kotlin-training-notifications].
task 4
step 3
number 4
codelab: advanced-android-kotlin

Advanced Android in Kotlin: Notifications 1.1 [Step 3 and 6][Typos `notitications` and `Swtich` in README]

Describe the problem
The starter and finished code have typos in README.md file:

  1. 'Add notitications to the eggtimer app'
  2. 'Swtich to start branch'

In which lesson and step of the codelab can this issue be found?
Lesson 1.1, Step 3 and 6

How to reproduce?
Visit readme files

  1. Starter
  2. Finished

Versions

  1. What version of Android Studio are you using?
    Not relavant

  2. What API level are you targeting?
    Not relavant

Additional information
NA

codelab: advanced-android-kotlin

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

Describe the problem
The repository has the exercise solved

In which lesson and step of the codelab can this issue be found?
Advanced Android in Kotlin 01.1: Using Android Notifications

How to reproduce?
Download "https://github.com/googlecodelabs/android-kotlin-notifications"

Versions

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

Additional information
Ideal - the repository should have both the initial exercise and the solved one.

codelab: advanced-android-kotlin

ViewModelProviders is depricated

After I updated all the dependencies "ViewModelProviders.of() " became deprecated. Now is called directly. "ViewModelProvider()" If you guys want I can pull a request with all the dependencies updates.

Thanks,
John De La Cruz

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

Describe the problem
A clear and concise description of what the problem is.
Bad filename
In which lesson and step of the codelab can this issue be found?
Lesson number + step number. (e.g., Lesson 1.1, Step 1.3)
Advanced Android in Kotlin 01.1: Using Android Notifications Task: Add notifications to your app step 3 point4 : Open EggTimerFragmentkt should be Open Open EggTimerViewModel.kt
How to reproduce?
What are the exact steps to reproduce the problem?

Versions

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

Additional information
Add any other context about the problem here.

codelab: advanced-android-kotlin

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

Describe the problem
Wording: Open AlarmReceiver.kt, an instance of NotificationManager should be instantiate an instance

In which lesson and step of the codelab can this issue be found?
Step 3.1

How to reproduce?
na

Versions
na

Additional information
na

codelab: advanced-android-kotlin

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

Describe the problem
Code mismatch.

In which lesson and step of the codelab can this issue be found?
Lesson 1.1, Step 2.3 AND Step 2.5

How to reproduce?
In Step 2.3:
// NotificationUtils.kt
// TODO: Step 2.3 add snooze action
.addAction(
R.drawable.egg_icon, <----EGG_ICON----
applicationContext.getString(R.string.snooze),
snoozePendingIntent
)

But in Step 2.5:
// NotificationUtils.kt
.addAction(
R.drawable.common_google_signin_btn_icon_dark, <----COMMON_ICON---
applicationContext.getString(R.string.snooze),
snoozePendingIntent
)
// TODO: Step 2.5 set priority
.setPriority(NotificationCompat.PRIORITY_HIGH)

Versions

Additional information

codelab: advanced-android-kotlin

Advanced Android in Kotlin: Notifications 1.1 [Step 3][Typo in instructions]

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

"4. Open EggTimerFragment.kt and remove the notification code for Step 1.5."
The problem is that Step 1.5 is done in EggTimeViewModel.kt and not in EggtimerFragment.kt

In which lesson and step of the codelab can this issue be found?
Lesson number + step number. (e.g., Lesson 1.1, Step 1.3)

Advanced Android in Kotlin 01.1: Using Android Notifications
4 Task: Add Notifications to your app
Step 3: Add notifications to your app
4. Open EggTimerFragment.kt and remove the notification code for Step 1.5.

How to reproduce?
What are the exact steps to reproduce the problem?
Typo, found by going to above stated path

Versions

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

Additional information
Add any other context about the problem here.
It is only a typo in the instructions
ps

codelab: advanced-android-kotlin

Advanced Android in Kotlin: Notifications 1.1 [Step 3.4][Incorrect file referenced]

Describe the problem
The step says to open the incorrect file.
What it currently says: "Open EggTimerFragment.kt and remove the notification code for Step 1.5."
What it should say: "Open EggTimerViewModel.kt and remove the notification code for Step 1.5."

In which lesson and step of the codelab can this issue be found?
Lesson 1.1, Step 3.4

How to reproduce?
Open Lesson 1.1 and scroll to Step 3.4

codelab: advanced-android-kotlin

Advanced Android in Kotlin: Notifications 1.1 Task 4

Describe the problem
In Step 3 at point 4, it sais Open EggTimerFragment.kt but it should sais EggTimeViewModel.kt as in the posterior code

In which lesson and step of the codelab can this issue be found?
4 + 3.4 r. (e.g., Lesson 1.1, Step 1.3)

codelab: advanced-android-kotlin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.