Stylianos Gakis
10/09/2022, 5:42 PMStylianos Gakis
10/09/2022, 5:45 PMStylianos Gakis
10/09/2022, 11:29 PMinjectedViewModel()
after having enabled the compose whetstone addon, and making sure to provide it with the correct NavBackStackEntry from compose navigation. Just like you’d do with hilt.
Unless I did smth wrong it seemed to work just fine, retaining the ViewModel while the scoped route was still in the backstack, and clearing itself when going back and in again 👀