Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
I proposed this which I think it is better than the actual behavior, and could let the developers work with more room to be creative.
https://code.google.com/p/android/issues/detail?id=58318
Description
Component used: Fragment Version used: 1.3.0-alpha04
FragmentScenario's
moveToState()
calls through toActivityScenario
'smoveToState()
, which means it is not possible to move to theSTARTED
case prior to API 23 and strongly couples the Fragment to the underlying Activity's state.It would be nice if for its implementation of
FragmentScenario
could be entirely decoupled from changes in the Activity's state by usingsetMaxLifecycle()
moveToState()
.