-
-
Save hitherejoe/c3a430051c75f8b5b783 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
Pair participants = new Pair<>(mSquareView, ViewCompat.getTransitionName(mSquareView)); | |
ActivityOptionsCompat transitionActivityOptions = | |
ActivityOptionsCompat.makeSceneTransitionAnimation( | |
SharedTransitionsActivity.this, participants); | |
ActivityCompat.startActivity(SharedTransitionsActivity.this, | |
intent, transitionActivityOptions.toBundle()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment