Skip to content

Instantly share code, notes, and snippets.

@EmmanuelGuther
Created May 31, 2023 10:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EmmanuelGuther/877f6d6f37bf79b118e618dfa4bddf4e to your computer and use it in GitHub Desktop.
Save EmmanuelGuther/877f6d6f37bf79b118e618dfa4bddf4e to your computer and use it in GitHub Desktop.
compose Animate lazycolumn
items(rankingUIModel.rankingUIModel.challengeRankingItems) {
ItemQualifying(modifier= Modifier.animateItemPlacement(
spring(
stiffness = Spring.StiffnessVeryLow,
visibilityThreshold = IntOffset.VisibilityThreshold
)
), item = it, onRankingItemPressed = onRankingItemPressed)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment