Hi,

I often run into the following dilemma: I need some singleton-like
object in my app (typically some central manager-like thing) and this
object needs a context for various things. This means that I either
have to pass a context to all methods needing one or have some sort of
init-pattern to the object. Neither is pretty I think. What is the
correct way of doing this? Or is this simply (even the definition of)
a Service?

Anyone have any thoughts on this?

/Chuck

-- 
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