Proxycon / Heimdall

Developing fork of heimdall to implement a scoring framework as part of my bachelor thesis
GNU General Public License v3.0
0 stars 1 forks source link

Fix Bug with ViewModel lifecycle #19

Open Proxycon opened 12 months ago

Proxycon commented 12 months ago

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.