Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Hi Ed, Thank you so much for these suggestions. I've been reviewing them and merging them in. Hopefully it should be live. I've included a thank you note too in the article.
jb...@google.com <jb...@google.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
Description
Component used: Fragment Version used: 1.3.0-alpha06
Right now,
setMaxLifecycle()
only supportsLifecycle.State.CREATED
or higher. It would be nice ifsetMaxLifecycle()
could also supportLifecycle.State.INITIALIZING
only for Fragments that have never moved aboveCREATED
- i.e., only something that could be set alongside the Fragment being added to theFragmentManager
.This would allow developers and libraries built on top of fragments to keep fragments only at the attached state without going through
onCreate()
.