I am trying to update a text dynamically but without success. clicking on a button the text is updated
Asked
Active
Viewed 1,872 times
5
-
You can share data through the composition tree using [CompositionLocal](https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionLocal) (instead of passing it as parameter). If this doesn't answer your question, then please provide a bit more details for your use case. – Alex Lipov May 06 '21 at 08:22