Skip to main content
0 votes
1 answer
145 views

@Serializable data object HomeRoute composable<HomeRoute> { entry -> HomeRoute(...) } val currentBackStackEntry = navController.currentBackStackEntryAsState() val route = ...
user924's user avatar
  • 12.9k
1 vote
1 answer
31 views

My routes are defined like this: @Serializable sealed interface Routes { @Serializable sealed interface TopLevel: Routes { @Serializable data object Home : TopLevel @...
mainrs's user avatar
  • 63
1 vote
1 answer
149 views

First, my app follows a single-activity architecture, and the activity code is as follows: @AndroidEntryPoint class MainActivity : ComponentActivity() { override fun onCreate(savedInstanceState: ...
JunLEE's user avatar
  • 45
1 vote
2 answers
249 views

While running the following app: class MainActivity : ComponentActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) enableEdgeToEdge(...
Whatever715's user avatar
0 votes
0 answers
51 views

I'm facing an issue when navigating to a Profile screen that contains a TextField with rememberSaveable. Here's the behavior: When I navigate to the Profile screen via the Bottom Navigation Bar (using ...
Andrej Plavsic's user avatar
1 vote
1 answer
321 views

I have a very simple single activity compose app utilising compose navigation: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android....
user648462's user avatar
2 votes
0 answers
85 views

I'm building an Android app with Kotlin, Jetpack Compose, and Hilt for dependency injection. My app has a KYC flow that spans about 10 screens(has own navigation graph of this flow), each with its own ...
Şahan Şenvar's user avatar
5 votes
1 answer
113 views

I tried to follow the examples in the android documentation but I can't implement the navigation using Navigation Compose, ViewModel and Hilt. No errors are thrown and in the NavigationScreen ...
alexandrade00's user avatar
1 vote
2 answers
553 views

A white screen or an unknown background sometimes appears when I press the back icon, which triggers { navController.navigateUp() }. This behavior does not occur consistently but happens randomly, and ...
Rishabh Garg's user avatar
1 vote
1 answer
65 views

I’ve got a Navigation compose that passes arguments to the start animation, specifically the scaleIn and scaleOut properties. However, the offSetX and offSetY values are null. But here’s the catch: ...
Rofie Sagara's user avatar
1 vote
0 answers
179 views

Is it possible set start destination of a NavGraph to a destination in NavGraphBuilder.navigation(){}? private fun NavGraphBuilder.addNavGraph(navController: NavController) { composable<RouteA&...
Thracian's user avatar
  • 70k
1 vote
0 answers
98 views

Does navController.setGraph() work in Jetpack Compose type safe navigation? Calling setGraph sets graph but since NavHost sets navController.graph in either overloads it goes back to initial NavGraph ...
Thracian's user avatar
  • 70k
1 vote
0 answers
218 views

I would like to be able to declare deep links in my compose nav graph with relative urls. There are a couple of reasons for this, firstly it's not unreasonable for an app to declare multiple schemes/...
user648462's user avatar
2 votes
0 answers
123 views

I have a list of "clients" which are presented using a lazy column on a screen. I am able to enter each client (navigate to another screen) and edit the information of this client, but when ...
appeldaniel's user avatar
3 votes
1 answer
1k views

When using new Compose navigation that incorporates animations in NavHost by default, i encountered a few issues with navController.popBackStack(). (Edit 2: nav version 2.8.0-beta03) 2 main issues ...
Vicked Vuljo's user avatar

15 30 50 per page