File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compose/snippets/src/main/java/com/example/compose/snippets/animations Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1919package com.example.compose.snippets.animations
2020
2121import androidx.compose.animation.Animatable
22- import androidx.compose.animation.core.Animatable
2322import androidx.compose.animation.AnimatedContent
2423import androidx.compose.animation.AnimatedVisibility
2524import androidx.compose.animation.Crossfade
2625import androidx.compose.animation.EnterExitState
2726import androidx.compose.animation.SizeTransform
2827import androidx.compose.animation.animateColor
2928import androidx.compose.animation.animateContentSize
29+ import androidx.compose.animation.core.Animatable
3030import androidx.compose.animation.core.AnimationVector1D
3131import androidx.compose.animation.core.AnimationVector2D
3232import androidx.compose.animation.core.Easing
@@ -804,7 +804,7 @@ private fun OffsetKeyframeWithSplineDemo() {
804804 Offset (0f , maxYOff) atFraction 0.5f
805805
806806 // Return with mirrored movement
807- for (i in 0 .. 4 ) {
807+ for (i in 0 .. 4 ) {
808808 val sign = if (i % 2 == 0 ) 1 else - 1
809809 Offset (
810810 x = maxXOff * (1f - i.toFloat() / 5f ) * sign,
You can’t perform that action at this time.
0 commit comments