Skip to content

Fix Bug with ViewModel lifecycle #19

@Proxycon

Description

@Proxycon

The view model for AppDetailScreen is not destroyed when the composable gets dismissed. That leads to the unwanted behaviour, that the view model still holds data from the previously inspected app. This is fixed, by a workaround, that updates the viewmodel, wth a LauchedEffect, but tracker data is still not accurate. It only shows the correct data, when the AppDetailScreen is closed and opended again. This needs further investigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    UIbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions