android - What happens to a Fragment once it's removed or replaced? -


android documentation doesn't seem have on it, other stating fragment removed once transaction committed. fragment gone? in metaphysical sense? or exist somewhere still, able called when needed? if so, how call it?

as more pragmatic question, if have activity contains 1 fragment view , multiple fragments go view, there way reference fragments other recent 1 on stack (for question purposes, assuming they're placed on there)

when remove or detach fragment doesn't removed project, can attch activity.

but once pop fragment stack , destroy, can't revoked. because when destroy fragments, cleanup function being called cleans every part of fragment.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -