Join Slack
I hope `NavController` can be considered “stable” by Compose some day :slightly_smiling_face: In the...
# compose
r
Richard Z
08/18/2023, 10:46 AM
I hope
NavController
can be considered “stable” by Compose some day 🙂 In the meantime, we’ve solved this by wrapping
NavController
into a broader helper object that has a stability marker, before passing it through to the navigation graph. Because even passing a
NavController
into your nav graph builder will mean the whole nav graph builder lambda will need to be recreated if it enters the recomposition scope 😕
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by