Brian Donovan
12/09/2021, 6:13 PMjim
12/09/2021, 6:14 PMBrian Donovan
12/09/2021, 6:14 PMjim
12/09/2021, 6:17 PMBrian Donovan
12/09/2021, 6:19 PMKirill Grouchnikov
12/09/2021, 6:23 PMLoginButton
to provide a lambda that is called in your onClick
. It is the caller's responsibility to update the source of truth for the state, not this composable.onCheckedChange
(where the lambda updates the state and that causes recomposition of your composable)Brian Donovan
12/09/2021, 7:51 PMAbhinav Suthar
12/12/2021, 3:09 PMisDisplayed
is a state variable