Join Slack
Powered by
how is the way to call a composable inside an onCl...
# compose
c
carbaj0
01/26/2020, 4:33 PM
how is the way to call a composable inside an onClick?
a
Adam Powell
01/26/2020, 4:43 PM
You don't 🙂 onClick performs actions that modify state, and the composition reflects the current state.
c
carbaj0
01/27/2020, 8:41 AM
You're right, my mind has to adapt to compose 😅
2
Views
Open in Slack
Previous
Next