leancorn icon indicating copy to clipboard operation
leancorn copied to clipboard

Shared element transitions between destinations

Open isaranghi opened this issue 2 years ago • 0 comments

Hello,

Based on the implementation of Navigation component in the ViewModel and Fragment, how can you implement "shared element transitions between fragments? (example when you click a movie in Home and it takes you to detail)". I am trying to implement "ActivityOptionsCompat.makeSceneTransitionAnimation" using "((ImageCardView) itemViewHolder.view).getMainImageView()" as shared element. I am just wondering how would you suggest doing that based on your implementation of Navigation?

isaranghi avatar Nov 22 '21 16:11 isaranghi