Closed rupansh closed 3 years ago
Going to other routes from a composable requires a NavController object There should be a way to inject this object (Possibly through ViewModel) as its very much a singleton dependency
NavController
same, I would rather not passing it through from the top level.
Please, feel free to add these feature requests to the Dagger/Hilt GH project (https://github.com/google/dagger/issues) instead of here. Thank you!
Going to other routes from a composable requires a
NavController
object There should be a way to inject this object (Possibly through ViewModel) as its very much a singleton dependency