On Apr 11, 11:23 am, Streets Of Boston <[email protected]> wrote: > > If all it OK, you should only have on activity (the new one) and the > old one should be a candidate for garbage collection. But sBackground > is (indirectly) still referencing the old activity and it will not be > garbage collected.
but when a new activity is created setBackgroundDrawable() is called in onCreate(), which means sBackground is now referencing the new created activity, not the old one any more. Then the old one should be a candidate for gc. shouldn't it...? -- 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 To unsubscribe, reply using "remove me" as the subject.

