5

I am trying to update a text dynamically but without success. clicking on a button the text is updated

Rafael Souza
  • 1,143
  • 2
  • 13
  • 29
  • 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

0 Answers0