https://kotlinlang.org logo
#compose
Title
# compose
v

Vsevolod Kaganovych

09/19/2023, 4:52 PM
Hey. I have a question: is it safe from recomposition point of view to pass the list of composable functions as a parameter? For example, if I want to populate the Row with text composables, I pass the list of text composables to the function and there populate the Row
z

Zach Klippenstein (he/him) [MOD]

09/19/2023, 5:50 PM
You can pass composable functions around, anywhere you can with regular functions. Including lists
v

Vsevolod Kaganovych

09/19/2023, 6:23 PM
thanks)
2 Views