In the activity there is a CustomButton which has a TransitionManager.beginDelayedTransition() call used to animate it. When scrolling fast enough you can notice that the sticky header disappears, waits till the button is settled (transition is over), and only then the header is added on top.
Is there a way to use transitions without messing up sticky headers so that they work simultaneously?
Please check the tiny sample project here: https://github.com/145k0v/sticky-headers-sample
In the activity there is a CustomButton which has a
TransitionManager.beginDelayedTransition()
call used to animate it. When scrolling fast enough you can notice that the sticky header disappears, waits till the button is settled (transition is over), and only then the header is added on top.Is there a way to use transitions without messing up sticky headers so that they work simultaneously?