I have three fragments inside the ViewPager in activity, I want to achieve the transition of a common element from one of the fragments to another. The transition is carried out from the view of the recycler, which is located inside the fragment, which is located inside the viewpager, which is located inside Activity Activity-> ViewPager-> Fragment-> Recyclerview
I searched every website, but there is information only about the transition of a common element from one fragment to another and one action to another. There is no content about moving from fragment to activity
holder.poster.setTransitionName("posterX"); ActivityOptionsCompat options = ActivityOptionsCompat.makeSceneTransitionAnimation((Activity) con,holder.poster,holder.poster.getTransitionName()); Log.e("Animation", "Success");
When using the above code, the second action is launched, but nothing is visible, for example, the second action contains FAB, which starts when you click on the youtube button. I know where the FAB is, so when I click blindly, youtube is launched correctly, but nothing is visible in the second activity.
D/ViewRootImpl: changeCanvasOpacity: opaque=true
Its one of the logarithms. I think this should be a problem!
source share