Which life cycle is not an active fragment
-
I have one activism and many fragments that go there. So what's the life cycle of the fragment that's put on another fragment?
-
If it stays in the stack,
onPause
♪
If notpopbackstack
) -onDestroy
♪But it's worth pointing out that finding is onPause. Not at all. Guarantees that the DS itself will not kill Fragment.
In such cases, the DS re-establishes Fragment and the data that contained it are extracted from eitherbundle
orViewModel