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…

Raw Hasan
- 1,096
- 1
- 9
- 25
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
…

pat20036
- 83
- 6
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),…

Maksymilian Tomczyk
- 1,100
- 8
- 16
-1
votes
1 answer
Why i am getting this error while i am using modifier property to set width or height of layout functions like surface or column,
Modifier property error with width
i have using all things but never works

Ayan
- 3
- 1