Monday, March 12, 2012

Re: [android-developers] Re: getCurrentActivity()

On Mon, Mar 12, 2012 at 21:12, Lew <lewbloch@gmail.com> wrote:
> > Carlos Silva wrote:
> > > "this" on a class that extends Activity isn't simple enough?

You can use 'this' in an instance, but not in a static context.

Never said otherwise. And ftm, do you really think that someone that doesn't understand what a static access is and why "Main_Activity.this" works on some places and not another, understands your message? Outer/Inner instances, referencesm etc... That was too much :)

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate