On Sat, Jun 11, 2011 at 5:09 PM, niko20 <[email protected]> wrote: > > My concern with ever passing an activity is now you expose yourself to > that activity memory leak problem, right? Unless you make sure to set > it to null in onDestroy()
It depends on the lifetime of TestClass. If TestClass lives for less time than does the Activity, there's no problem. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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

