Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Animations and Transitions Shared Element Transitions Shared Elements

Tyler Combs
Tyler Combs
15,525 Points

I'm very confused on what just happened in this video.

In this video, all Ben does is add 2 parameters to ActivityOptions in order for the new Activity/Fragment transition to occur. What did I miss? Did he already create the transition beforehand? I feel like there was no explanation given, even on what exactly the 2 types of parameters were needed for the ActivityOptions method he used.

1 Answer

Seth Kroger
Seth Kroger
56,413 Points

He briefly mentions at the end of the video that there are default transitions. So everything will work without specifying a transition, but you can always replace them with your own if you want to do it differently.

Tyler Combs
Tyler Combs
15,525 Points

I guess I missed that part, thanks