Weak, Soft, Strong and Phantom references are not specific to Android. They are a Java construct:
http://stackoverflow.com/questions/299659/what-is-the-difference-between-a-soft-reference-and-a-weak-reference-in-java http://weblogs.java.net/blog/2006/05/04/understanding-weak-references On Monday, January 11, 2010 3:36:48 AM UTC-5, taosinker wrote: > > > > Hi friends: > During reading the Android code, I am unclear about the strong reference > and weak reference in Refbase.h. > > who can give a summary about the strong reference and weak reference? What > is the difference and what is the usage in different condition? > > Another what is the difference between OBJECT_LIFETIME_FOREVER and > OBJECT_LIFETIME_WEAK? > > > Thanks > Regards > > -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/android-discuss/-/z8kZNnKE3wYJ. 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-discuss?hl=en.
