Skip to content

Instantly share code, notes, and snippets.

@damanpreetsb
Last active May 26, 2019 06:56
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/b3a15c10aa169193127a1b1d2ad33ef0 to your computer and use it in GitHub Desktop.
Save damanpreetsb/b3a15c10aa169193127a1b1d2ad33ef0 to your computer and use it in GitHub Desktop.
customiseButton.setOnClickListener {
val intent = Intent(this, CustomiseActivity::class.java)
val options = ActivityOptionsCompat
.makeSceneTransitionAnimation(
this,
pizzaImageView as View,
"pizza")
startActivity(intent, options.toBundle())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment