Adrian Landborn
05/14/2021, 1:15 PMLouis Pullen-Freilich [G]
05/14/2021, 1:49 PMAdrian Landborn
05/14/2021, 1:50 PMAdrian Landborn
05/14/2021, 2:10 PMLouis Pullen-Freilich [G]
05/14/2021, 2:11 PMButton
itself to change how it appears when pressedLouis Pullen-Freilich [G]
05/14/2021, 2:12 PMval isPressed = interactionSource.collectIsPressedAsState()
val buttonBackgroundColor = if (isPressed) ... else ...
Louis Pullen-Freilich [G]
05/14/2021, 2:12 PMIndication
is more for a generic effect that is shown across clickable elements, not for per-component behavior or appearance changes