Fixed
Status Update
Comments
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #2
The project uses plugin androidx.navigation.safeargs (version 1.0.0-alpha04) and that seems to change the version of the models to 3.2.0-beta03, causing the project to require an upgrade. If the plugin is removed from the project then the issue is gone. Can you confirm if the issue is gone after removing the plugin? I have attached a patch with the changes if needed.
il...@google.com <il...@google.com> #3
So maybe this bug needs to be assigned to `androidx.navigation.safeargs` plugin team ?
Description
Component used: Fragment Version used: 1.3.0-alpha06
With the change in b/156527405 to use
setMaxLifecycle()
to controlmoveToState()
,FragmentScenario
should allow you to set an initialLifecycle
state.This would allow developers to stop the Fragment at the
CREATED
state and verify state before moving it upward toSTARTED
orRESUMED
.