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.
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 aLauchedEffect
, but tracker data is still not accurate. It only shows the correct data, when theAppDetailScreen
is closed and opended again. This needs further investigation.