Jason Ankers01/25/2021, 7:19 AM
fmasa01/25/2021, 9:20 AM
is scoped to NavBackEntry by default. But you can pass "parent"
(the ambient value passed to given
) as your own ambient.
) to scope few viewmodels that are used everywhere to Activity
Jason Ankers01/25/2021, 9:36 AM
, do you know if theres a substitute in compose? Before compose I had this: https://developer.android.com/training/dependency-injection/hilt-jetpack#viewmodel-navigation
fmasa01/25/2021, 9:40 AM
FunkyMuse01/25/2021, 11:09 AM
fmasa01/25/2021, 11:14 AM
Ian Lake01/25/2021, 3:11 PM
of parent graphs as well as a new Hilt Navigation artifact which gives you access to a properly scoped Hilt
Jason Ankers01/25/2021, 4:08 PM