Created
October 29, 2015 18:02
-
-
Save bherbst/0c08a9bce4239d55a2fc to your computer and use it in GitHub Desktop.
DetailsTransition for animating image transitions between a RecyclerView and a details Fragment
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
public class DetailsTransition extends TransitionSet { | |
public DetailsTransition() { | |
setOrdering(ORDERING_TOGETHER); | |
addTransition(new ChangeBounds()). | |
addTransition(new ChangeTransform()). | |
addTransition(new ChangeImageTransform())); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment