Skip to content

[Bug]: Viewmodel onCleared method is not called unless the app is close #2075

@Saroj-Maharjan-Geomoby

Description

@Saroj-Maharjan-Geomoby

Is there an existing issue for this?

  • I have searched the existing issues

Is there a StackOverflow question about this issue?

  • I have searched StackOverflow

What happened?

With the introduction of nav3 NavigationState, onCleared method on viewModel is never executed unless the app is closed.

Relevant logcat output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions