Is keeping a reference to fragment that has been removed an anti-
pattern?

If the Fragment is on the backstack it seems like I have observed that
the system can GC fragments and create them later when needed.  So if
the Activity keeps a reference to a removed Fragment does it inhibit
that GC?

Trying to understand what the best practice is, and application
designs to avoid (if any).

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to