[MaterialContainerTransform] Add support for predictive back
closes https://github.com/material-components/material-components-android/issues/4042 closes https://github.com/material-components/material-components-android/issues/3619
Hunter can you help take a look?
I have added a new commit. Using Fragment 1.8.4, TransitionListenerAdapter.onTransitionEnd() is not called when the transition is cancelled. TransitionListenerAdapter.onTransitionCancel() isn't called either, which is why the TransitionListenerAdapter is replaced by the AnimatorListener.
It looks like the Google Team has forgotten it? I've seen two new open issues for it. Pls take a look at it 🙏