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

theapache64

03/27/2024, 11:12 AM
z

Zoltan Demant

03/27/2024, 1:59 PM
Not sure but my intuition tells me it must be bcd, a is the only thing that is skippable. Blink twice if thats correct? 😄
1
👌 1
u

Ume Channel

03/27/2024, 5:20 PM
well let me help you, it's only display the Text and the button. The function in a,b,c and d - don't display because println is not composable function unless you put a Composable function like Text or other components. WC
c

CXwudi

03/27/2024, 7:44 PM
Correct me if I am wrong, when the button is clicked, the only two parts that get recalled (recomposed) are the
Button {}
and the
Text()
. So when the button is clicked, none of abcd get called again. However, the console print statement of abcd all appeared once when first time encounters the composition of
Counter
s

Stylianos Gakis

03/29/2024, 10:40 AM
2 Views