Richard Z
08/18/2023, 10:45 AMNavController
is not considered “stable”, and therefore neither of the composable methods you screenshotted are skippable. Also, since the “non-stable” navController
is captured in lambdas within those composables and therefore those lambda will be recreated on recomposition, almost no part of the composition is skippable. I’m hoping also ExampleModel is marked as @Immutable
? This could help answer why DetailSportsScreen
ends up recomposing multiple times when you don’t expect it to instead of being skipped. As for why it’s in the recomposition scope at all, I think you’d have to look further up into your navigation layer.