Skip to content

Instantly share code, notes, and snippets.

@tmaxxdd
Created Mar 21, 2020
Embed
What would you like to do?
motionLayout.setTransitionListener(MotionProgressListener { progress: Float ->
lottie.progress = progress
arrow.isVisible = (progress <= 0.5f)
editText.isVisible = (progress >= 0.5f)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment