Skip to content

Remodel SearchWidgetState with sealed class and move to AppSearchBar #20

@dfernandezm

Description

@dfernandezm

We can model this with a sealed class and pass in the current value directly, eg:

sealed class SearchBarState {
     object Closed: SearchBarState()
     data class Opened(val text: String)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions