Questions tagged [jetpack-compose-navigation]

200 questions
0
votes
2 answers

Compose navigation title is not updating

I am trying to update the title of the TopAppBar based on a live data in the ViewModel, which I update on different screens. It looks like the live data is getting updated properly, but the update is not getting reflected on the title of the…
0
votes
0 answers

Jetpack Compose item list

When I select item inside LazyColumn and navigate to this item I can interact with other items from previous screen(item list). Any ideas? LazyColumn LazyColumn { val postList = homeViewModel.state.postList.value …
0
votes
2 answers

Getting a deep link exception when navigating from one Android screen to another

I have this in MainActivity: @Composable fun createNavHost(paddingValues: PaddingValues, navController: NavHostController) { NavHost(navController, startDestination = Screen.HomeScreen.title) { composable(Screen.HomeScreen.title) { …
James Black
  • 41,583
  • 10
  • 86
  • 166
0
votes
1 answer

Passing model between destinations

I'm working on application which uses Jetpack Compose with Jetpack Compose Navigation. In one view (destination) I'm displaying list on entries (let's call it View A with Model A). From this view user can go to creation view (View B with Model B),…
1 2 3
13
14