Skip to content

MainScreenView is recomposing every time when user comes back from DetailScreen #55

Open
@Sushant-Hande

Description

Hi @SEAbdulbasit,
Currently, when the user comes back from DetailScreen to MainScreenView, it recomposes MainScreenView every time. This resulting into inconsistent UI state. This is probably due to the manual navigation to composable screens. I could see in MainView.kt file some code is commented that handles navigation using Jetpack Navigation.

I wanted to discuss that, can we uncomment this code or any other scenario is there due to which it is commented?

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