Fixed
Status Update
Comments
mo...@google.com <mo...@google.com> #2
Jeremy, is this still an issue? I think the problem was that you had two transitions targeting the same View for the same action (e.g. two Slide() transitions).
mo...@google.com <mo...@google.com> #3
I have a similar issue with plain AnimatorSet:
set.start()
set.pause()
set.setCurrentPlayTime(100)
set.setCurrentPlayTime(0)
set.setCurrentPlayTime(100)
set.resume()
doesn't play animation in resume().
ap...@google.com <ap...@google.com> #4
Should clarify that if I filter out setCurrentPlayTime(0)
(or replace it with setCurrentPlayTime(1)
) it works well.
Also even with setCurrentPlayTime(0)
, onAnimationEnd
is notified with correct delay (as if the animation has played).
na...@google.com <na...@google.com> #5
@
I think that is intended for Animator. If you set the currentPlayTime
to 0 or the total duration the animator completes. We do some
Description
Version used: 1.5.0-alpha01
Devices/Android versions reproduced on: API 34 device
When doing a Slide transition with Transition version `1.5.0-alpha01`, if you interrupt the transition the exiting View will jump a few pixels before sliding to the proper exit location creating an undesired effect. I am using a horizontal (Gravity.START) so it is unclear why the View would change vertically at all.
To reproduce, launch the app and click the next button and right before the transition completes, press it again.
I would expect that behavior to be consistent with what was in previous version which is no jump, and the transition smoothly reversing.