Hekki wrote:
> Since i'm in an anonymous class and I've read that it's not a good
> idea to pass the whole context to classes

Where did you read that? I sure hope that I did not write that...

Moreover, if you are truly in an anonymous inner class of something, if
that "something" is an Activity or Service, then (Context)this is your
Context.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.3 Available!

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