krzysztof
03/22/2021, 10:03 AMVsevolod Ganin
03/22/2021, 11:10 AMdelay
before starting animationkrzysztof
03/22/2021, 12:46 PManimateFloatAsState
, which target value is driven by other bool propertyAlbert Chang
03/22/2021, 2:18 PMval targetValue = if (anotherProperty) 1f else 0f
val float = remember { Animatable(targetValue) }
LaunchedEffect(targetValue) {
delay(1000)
float.animateTo(targetValue)
}
Doris Liu
03/22/2021, 5:34 PMkrzysztof
03/25/2021, 8:31 AMLaunchedEffect
to achieve this 👍krzysztof
03/25/2021, 8:31 AM