material-components-android
material-components-android copied to clipboard
How to resolve the exitTransition conflicts in the same fragment?
trafficstars
I have a fragmentA, in which there is a nested fragmentB(In viewpager2) and a search button. I want to jump from fragmentB to fragmentC. I set exittransition and reentertransition in fragmentA and fragmentC respectively. It works very well. But I still need to jump from fragmentA to fragmentD when I click the search button. At this time, the exittransition and reentertransition in fragmentA will conflict with another transition effect. How can I solve it?
my english so bad,sorry.i holp you understand my mean