Created
October 2, 2018 08:44
-
-
Save sagar-viradiya/8c33afbfc881e00d17ca830187c48b59 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
val springAnimation = view.springAnimationOf(DynamicAnimation.TRANSLATION_X) { | |
stiffness = STIFFNESS_MEDIUM | |
dampingRatio = DAMPING_RATIO_MEDIUM_BOUNCY | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment