Fixed
Status Update
Comments
sa...@google.com <sa...@google.com> #2
Comment has been deleted.
ap...@google.com <ap...@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().
sa...@google.com <sa...@google.com>
sr...@gmail.com <sr...@gmail.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).
Description
The
FragmentManager
should be converted over to saving its state using theSavedStateRegistry
architecture component.We should provide
FragmentManager
with aSavedStateRegistryController
and move all of the code from theFragmentActivity
'sinit()
into theattachController()
method ofFragmentManager
.It currently relies on the
SavedStateRegistry
of theFragmentActivity
which hacked together methods likemarkFragmentsCreated()
andmFragments.saveAllState()
that can likely be called directly from theFragmentManager
.The more complex piece is moving the
OnContextAvailableListener()
over sinceFragmentManager
does not have the same signal for when theContext
is immediately available.