Skip to content

Instantly share code, notes, and snippets.

@damanpreetsb
Last active May 26, 2019 07:01
Embed
What would you like to do?
frontCoverImageView
.animate()
.translationY(790f)
.setDuration(300)
.setListener(object : Animator.AnimatorListener {
override fun onAnimationEnd(animation: Animator?) {
backCoverImageView.visibility = VISIBLE
backCoverImageView.alpha = 1f
pizzaImageView.visibility = GONE
frontCoverImageView.visibility = GONE
rotateBoxAnimation()
}
})
.startDelay = 500L
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment