I understand that there are Activity Transitions to make transitions for shared elements between Activity A and Activity B like so:
ActivityOptions options = ActivityOptions.makeSceneTransitionAnimation(this,
Pair.create(view1, "agreedName1"),
Pair.create(view2, "agreedName2"));
There are also Fragment Transitions for Fragments that are in the same Activity. But is there a way to transition shared elements between Activity A's Fragment views and Activity B?
My Activity A has a ViewPager with Fragments that have views that I would like to transition into Activity B's views. So the Views that I want to transition into Activity B are actually in Activity A's Fragment layout, not directly in Activity A's layout.
Is there any way to make this work?