FunkyMuse
03/10/2021, 8:50 PMimplementation "androidx.hilt:hilt-navigation-compose:1.0.0-alpha01"
and
val viewModel: LatestBooksViewModel = hiltNavGraphViewModel(navBackStackEntry)
i don't want to create a new view model each time the user clicks the bottom navigation since it's just wasting API callsIan Lake
03/10/2021, 9:34 PMFunkyMuse
03/10/2021, 11:18 PMIan Lake
03/10/2021, 11:24 PM- The Fragment APIs for supporting multiple back stacks (thus enabling multiple back stacks even if you do not use Navigation)
- The generic Navigation API that will allow any Navigator (be it Fragments, Compose, etc) to support multiple back stacks
- Rework of the existing Navigators to support multiple back stacks out of the box