Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stages of the activity lifecycle | Useless variable exist. #24

Open
Jaehwa-Noh opened this issue Dec 8, 2023 · 0 comments · May be fixed by #25
Open

Stages of the activity lifecycle | Useless variable exist. #24

Jaehwa-Noh opened this issue Dec 8, 2023 · 0 comments · May be fixed by #25

Comments

@Jaehwa-Noh
Copy link

Jaehwa-Noh commented Dec 8, 2023

URL of codelab

In which task and step of the codelab can this issue be found?

Describe the problem
Line 175 currentDessertIndex seemed to be useless variable.
Because that variable just need a first composition.

We can remove it and can just use to '.first()' method.
Line 178 and Line 181 #25

스크린샷 2023-12-08 204520

Steps to reproduce?

  1. Go to...
  2. Click on...
  3. See error...

Versions
Android Studio version: Android Studio Hedgehog | 2023.1.1
API version of the emulator: 34

Additional information
Include screenshots if they would be useful in clarifying the problem.

@Jaehwa-Noh Jaehwa-Noh linked a pull request Dec 8, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant