Skip to content

Instantly share code, notes, and snippets.

@zsoltk
Created January 26, 2020 17:22
Show Gist options
  • Save zsoltk/18aeb463fa50c2d04d35a3d4d1a6febc to your computer and use it in GitHub Desktop.
Save zsoltk/18aeb463fa50c2d04d35a3d4d1a6febc to your computer and use it in GitHub Desktop.
private val rotation = FloatPropKey()
private val definition = transitionDefinition {
state(0) { this[rotation] = 0f }
state(1) { this[rotation] = 360f }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment