nlindberg
04/06/2023, 9:26 AMJakub Syty
04/06/2023, 9:32 AMnlindberg
04/06/2023, 9:34 AMJakub Syty
04/06/2023, 9:39 AMnlindberg
04/06/2023, 9:40 AMIan Lake
04/06/2023, 3:15 PMNielsLindberg
04/07/2023, 2:57 AMIan Lake
04/07/2023, 3:00 AMAnimatedContent
NielsLindberg
04/07/2023, 3:06 AMIan Lake
04/07/2023, 3:09 AMNielsLindberg
04/07/2023, 3:13 AMIan Lake
04/07/2023, 3:23 AMNielsLindberg
04/07/2023, 12:26 PMNavHost(navController, startDestination = "home") {
...
// Navigating to the graph via its route ('login') automatically
// navigates to the graph's start destination - 'username'
// therefore encapsulating the graph's internal routing logic
navigation(startDestination = "username", route = "login") {
SharedElementLoginLevel()
composable("username") { ... }
composable("password") { ... }
composable("registration") { ... }
}
...
}
So a shared element between all login routes.