Colton Idle
08/20/2021, 6:30 AMImage
, but I want the animation state of the slideIn/Out to be driven by the scrollState of my Column. Is there any way to hook those up to each other?Colton Idle
08/20/2021, 6:33 AMAnimatedVisibility(
scrollState.value < 1F,
enter =
slideIn(
initialOffset = { fullSize: IntSize ->
IntOffset(fullSize.width, fullSize.height)
}, animationSpec = tween(1500)),
exit =
slideOut(
targetOffset = { fullSize: IntSize ->
IntOffset(fullSize.width, fullSize.height)
}, animationSpec = tween(1500)),
modifier = Modifier.align(Alignment.BottomEnd)) {
Colton Idle
08/20/2021, 6:34 AM