Open AZholtkevych opened 9 months ago
The FiniteAnimationSpec
param has a few implementations: DurationBasedAnimationSpec
, RepeatableSpec
, and FiniteAnimationSpec
. And each of them has helper functions to create instances of these objects (repeatable
, infiniteRepeatable
, srping
, keyframes
, tween
, ...).
Doc: https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridItemScope#(androidx.compose.ui.Modifier).animateItemPlacement(androidx.compose.animation.core.FiniteAnimationSpec)
This modifier animates the item placement within the grid.