3.0.0
What's Changed
- Update Compose Multiplatform to v1.8.0 by @renovate in #269
- Update agp to v8.10.0 by @renovate in #270
BREAKING CHANGES
Compose Multiplatform 1.8.0 includes a change to the LazyGridScope. It removes the animateItemPlacement()
modifier in favour of animateItem()
So if you are using LazyDragSelectGridItemScope.animateItemPlacement()
, you need to replace it with LazyDragSelectGridItemScope.animateItem()
:
public fun Modifier.animateItem(
fadeInSpec: FiniteAnimationSpec<Float>? = spring(stiffness = Spring.StiffnessMediumLow),
placementSpec: FiniteAnimationSpec<IntOffset>? =
spring(
stiffness = Spring.StiffnessMediumLow,
visibilityThreshold = IntOffset.VisibilityThreshold
),
fadeOutSpec: FiniteAnimationSpec<Float>? = spring(stiffness = Spring.StiffnessMediumLow),
)
Full Changelog: 2.4.3...3.0.0