Skip to content

Navigation items structure #2

@kqvanity

Description

@kqvanity

Why are you saving a list within a Composable (With every recomposition, it'll be reinstantiated)?
Also. Why aren't you simply using an enum class altogether, if all classes are already the same, and you can use enumValues or entries property on it to iterate over its navigation items?

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