Skip to content

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

Open
@Jaehwa-Noh

Description

@Jaehwa-Noh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions