diff options
| author | Adam Powell <adamp@google.com> | 2014-06-20 12:51:12 -0700 |
|---|---|---|
| committer | Adam Powell <adamp@google.com> | 2014-06-24 12:29:32 -0700 |
| commit | 371a809179c843d7ae661a10bc9b4b8cfcaff566 (patch) | |
| tree | 0b28c3bbb236aadddfd427112908d7ab464176f7 /docs/html/sdk/api_diff/12/changes | |
| parent | 775a159e80ad9c174dab656b4e23032d525e5bd2 (diff) | |
Inflate fragments from layout into child FragmentManagers
Previously, if an app inflated a layout in a Fragment's onCreateView
that itself had fragments included, those fragments would be added to
the Activity-level FragmentManager and would not share the same
lifecycle with the fragment it was inflated for. This led to some
nasty management headaches.
If an app targets L or above, add the fragment to the child
FragmentManager of the current fragment when inflated using the
LayoutInflater passed to the parent fragment.
Bug 12763389
Change-Id: Iad4ed7d5df602aea9579bf1503e206fa894630c1
Diffstat (limited to 'docs/html/sdk/api_diff/12/changes')
0 files changed, 0 insertions, 0 deletions
