@Lew on 3/14: +many Why, oh why, do people insist on lazy initialization? A lot of the debate about singletons ignores specifics. I bet nobody has a problem with:
public static final String MY_CONSTANT = "CONSTANT"; That's a singleton. Singletons that are mutable are weirder. Lazily initialized singletons that are mutable are the devil's tools. Further, as I point out here: http://portabledroid.wordpress.com/2012/05/04/singletons-in-android/ "Singleton" is a relative term. There is nearly no such thing as a singleton (well, maybe the earth, or the sun, or something like that). There are only singletons in context. I have come to see many of the problem devs have with singletons not as a discussion of singletons themselves, but as a misunderstanding of the context in which they are singletons. -blake -- -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

