Skip to content

Instantly share code, notes, and snippets.

@damanpreetsb
Last active May 26, 2019 07:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save damanpreetsb/551d88062798819f91227a204b4b8371 to your computer and use it in GitHub Desktop.
Save damanpreetsb/551d88062798819f91227a204b4b8371 to your computer and use it in GitHub Desktop.
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