Created
March 21, 2020 19:52
-
-
Save tmaxxdd/b0dfa1183a37d1b8e195023687568f7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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